diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2002-06-12 23:21:49 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2002-06-12 23:21:49 (GMT) |
commit | 5dfaaad710dd6c689c574fa0671978dc1f981e38 (patch) | |
tree | 31a69779e9ea4a65f12abcd495d9fe456a99beba /config | |
parent | 8b1548cd6e954cbb2136a65b1e969b0d7d586c67 (diff) | |
download | hdf5-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
Diffstat (limited to 'config')
-rw-r--r-- | config/commence.in | 1 | ||||
-rw-r--r-- | config/conclude.in | 8 |
2 files changed, 4 insertions, 5 deletions
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 \ |