summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-03-22 18:11:40 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-03-22 18:11:40 (GMT)
commitf336257bc87ceedbb6954b054320eaa6634bec6b (patch)
tree8c6d20e4fe62cddd9f23a9faba2e88011ceed312 /config
parenta2163cc6fc3ca421876b716afc5bc7e298b95ca4 (diff)
downloadhdf5-f336257bc87ceedbb6954b054320eaa6634bec6b.zip
hdf5-f336257bc87ceedbb6954b054320eaa6634bec6b.tar.gz
hdf5-f336257bc87ceedbb6954b054320eaa6634bec6b.tar.bz2
[svn-r3689] Purpose:
Bug Fix Description: Added the hack which is in the 1.5 branch that allows the documents to have "subdirectories" which it installs...
Diffstat (limited to 'config')
-rw-r--r--config/conclude.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/config/conclude.in b/config/conclude.in
index 622cc65..d29fb5f 100644
--- a/config/conclude.in
+++ b/config/conclude.in
@@ -94,6 +94,11 @@ install-doc: $(PUB_DOCS)
else \
mkdir $(DOCDIR) && chmod 755 $(DOCDIR); \
fi
+ @if test -d $(SUBDOCDIR) ; then \
+ :; \
+ else \
+ mkdir $(SUBDOCDIR) && chmod 755 $(SUBDOCDIR); \
+ fi
@for d in X $(SUBDIRS); do \
if test $$d != X; then \
(set -x; cd $$d && $(MAKE) $@) || exit 1; \
@@ -109,6 +114,16 @@ install-doc: $(PUB_DOCS)
fi; \
fi; \
done
+ @for f in X $(PUB_SUBDOCS); do \
+ if test $$f != X; then \
+ if test -f $$f; then \
+ (set -x; $(INSTALL_DATA) $$f $(SUBDOCDIR)/. || exit 1); \
+ else \
+ (set -x; $(INSTALL_DATA) $(srcdir)/$$f $(SUBDOCDIR)/. || \
+ exit 1); \
+ fi; \
+ fi; \
+ done
## Removes those things that `make install' (would have) installed.
uninstall: