summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2002-06-12 23:21:49 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2002-06-12 23:21:49 (GMT)
commit5dfaaad710dd6c689c574fa0671978dc1f981e38 (patch)
tree31a69779e9ea4a65f12abcd495d9fe456a99beba
parent8b1548cd6e954cbb2136a65b1e969b0d7d586c67 (diff)
downloadhdf5-5dfaaad710dd6c689c574fa0671978dc1f981e38.zip
hdf5-5dfaaad710dd6c689c574fa0671978dc1f981e38.tar.gz
hdf5-5dfaaad710dd6c689c574fa0671978dc1f981e38.tar.bz2
[svn-r5616] Purpose:
Bug Fix Description: If a platform doesn't have a GNU "install" program, then that install program might not support the "-d" option which creates directories for you. Solution: Use our "mkdirs" script instead to create a nest of subdirectories. Platforms tested: HP-UX, Linux
-rw-r--r--MANIFEST1
-rw-r--r--config/commence.in1
-rw-r--r--config/conclude.in8
3 files changed, 5 insertions, 5 deletions
diff --git a/MANIFEST b/MANIFEST
index d996d8f..430a707 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -31,6 +31,7 @@
./bin/iostats
./bin/locate_hdf4
./bin/ltmain.sh
+./bin/mkdirs
./bin/release
./bin/runtest _DO_NOT_DISTRIBUTE_
./bin/snapshot
diff --git a/config/commence.in b/config/commence.in
index 705d38c..e9d75cc 100644
--- a/config/commence.in
+++ b/config/commence.in
@@ -28,7 +28,6 @@ CP=cp
INSTALL=@INSTALL@
INSTALL_PROGRAM=@INSTALL_PROGRAM@
INSTALL_DATA=@INSTALL_DATA@
-INSTALL_DIR=$(INSTALL) -d -m 755
RUNSERIAL=@RUNSERIAL@
RUNPARALLEL=@RUNPARALLEL@
RUNTEST=$(RUNSERIAL)
diff --git a/config/conclude.in b/config/conclude.in
index a0f800c..695bfd6 100644
--- a/config/conclude.in
+++ b/config/conclude.in
@@ -66,13 +66,13 @@ check test _test: tests
## Make installation directories directories if they don't exist.
$(libdir):
- $(INSTALL_DIR) $@
+ $(top_srcdir)/bin/mkdirs $@
$(includedir):
- $(INSTALL_DIR) $@
+ $(top_srcdir)/bin/mkdirs $@
$(bindir):
- $(INSTALL_DIR) $@
+ $(top_srcdir)/bin/mkdirs $@
## Install the library, the public header files, and public programs.
install: $(PUB_LIB) $(PUB_HDR) $(PUB_PROGS) $(libdir) $(includedir) $(bindir)
@@ -105,7 +105,7 @@ install-doc: $(PUB_DOCS)
@if test -d $(DOCDIR) ; then \
:; \
else \
- $(INSTALL_DIR) $(DOCDIR); \
+ mkdir $(DOCDIR) && chmod 755 $(DOCDIR); \
fi
@for d in X $(SUBDIRS); do \
if test $$d != X; then \