summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-02-05 20:07:38 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-02-05 20:07:38 (GMT)
commitf6bc74797280df00a57bddaaeebd21b4c79fdee9 (patch)
tree1f0c2a93ddb54c4f4bc9caf92e3eaef33d41e720
parent0c5cedfff9dbe678af849cbde09ea145534030b8 (diff)
downloadhdf5-f6bc74797280df00a57bddaaeebd21b4c79fdee9.zip
hdf5-f6bc74797280df00a57bddaaeebd21b4c79fdee9.tar.gz
hdf5-f6bc74797280df00a57bddaaeebd21b4c79fdee9.tar.bz2
[svn-r3355] Purpose:
Fix Description: Fixed the install-doc feature. Solution: It manually tests if the appropriate doc directory is there. If not, then it mkdir's it and proceeds to the subdirectory installs. Platforms tested: Linux, Solaris
-rw-r--r--doc/Makefile.in18
1 files changed, 10 insertions, 8 deletions
diff --git a/doc/Makefile.in b/doc/Makefile.in
index 9857cd3..10fc2eb 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -27,17 +27,19 @@ tests TAGS dep depend:
(cd $$d && $(MAKE) $@) || exit 1; \
done
-$(docdir):
- mkdir $@ && chmod 755 $@
-
-install-doc: $(docdir)
- @@SETX@; for d in $(SUBDIRS); do \
- (cd $$d && $(MAKE) $@) || exit 1; \
+install-doc:
+ @if test -d $(DOCDIR) ; then \
+ :; \
+ else \
+ mkdir $(DOCDIR) && chmod 755 $(DOCDIR); \
+ fi
+ @@SETX@; for d in $(SUBDIRS); do \
+ (cd $$d && $(MAKE) $@) || exit 1; \
done
uninstall-doc:
- @@SETX@; for d in $(SUBDIRS); do \
- (cd $$d && $(MAKE) $@) || exit 1; \
+ @@SETX@; for d in $(SUBDIRS); do \
+ (cd $$d && $(MAKE) $@) || exit 1; \
done
.PHONY: all lib progs test _test install uninstall dep depend clean \