diff options
-rw-r--r-- | config/commence.in | 1 | ||||
-rw-r--r-- | config/conclude.in | 8 |
2 files changed, 5 insertions, 4 deletions
diff --git a/config/commence.in b/config/commence.in index e9d75cc..705d38c 100644 --- a/config/commence.in +++ b/config/commence.in @@ -28,6 +28,7 @@ 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 7777a45..ff0f812 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): - mkdir $@ && chmod 755 $@ + $(INSTALL_DIR) $@ $(includedir): - mkdir $@ && chmod 755 $@ + $(INSTALL_DIR) $@ $(bindir): - mkdir $@ && chmod 755 $@ + $(INSTALL_DIR) $@ ## 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 \ - mkdir $(DOCDIR) && chmod 755 $(DOCDIR); \ + $(INSTALL_DIR) $(DOCDIR); fi @for d in X $(SUBDIRS); do \ if test $$d != X; then \ |