mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-18 17:40:55 +08:00
[svn-r264] Some versions of install allow only one file name at a time.
This commit is contained in:
parent
7209479d8e
commit
e39abc5bb8
@ -36,11 +36,15 @@ install: $(LIB) $(PUB_HDR) $(PROGS)
|
||||
fi
|
||||
@if test -n "$(PUB_HDR)"; then \
|
||||
test -d $(includedir) || mkdir $(includedir) || exit 1; \
|
||||
(set -x; $(INSTALL_DATA) $(PUB_HDR) $(includedir)/. || exit 1); \
|
||||
for f in $(PUB_HDR); do \
|
||||
(set -x; $(INSTALL_DATA) $$f $(includedir)/. || exit 1); \
|
||||
done; \
|
||||
fi
|
||||
@if test -n "$(PROGS)"; then \
|
||||
test -d $(bindir) || mkdir $(bindir) || exit 1; \
|
||||
(set -x; $(INSTALL_PROGRAM) $(PROGS) $(bindir)/. || exit 1); \
|
||||
for f in $(PROGS); do \
|
||||
(set -x; $(INSTALL_PROGRAM) $$f $(bindir)/. || exit 1); \
|
||||
done;
|
||||
fi
|
||||
|
||||
# Removes those things that `make install' (would have) installed.
|
||||
|
Loading…
x
Reference in New Issue
Block a user