summaryrefslogtreecommitdiffstats
path: root/doc/Makefile.in
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2002-02-19 21:01:02 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2002-02-19 21:01:02 (GMT)
commit7b1ead095ff66b95e6612e09d7a8c46c1dbc961e (patch)
tree9c75450b6a4d48c473553387a02451b76f372709 /doc/Makefile.in
parent8c035746ccd41ce9a7ca7f54ef4ff3e2497a7b67 (diff)
downloadhdf5-7b1ead095ff66b95e6612e09d7a8c46c1dbc961e.zip
hdf5-7b1ead095ff66b95e6612e09d7a8c46c1dbc961e.tar.gz
hdf5-7b1ead095ff66b95e6612e09d7a8c46c1dbc961e.tar.bz2
[svn-r4994]
Purpose: Bug Fix Description: The doc tree wasn't being cleaned up all the way. Directories would be left in there and some examples/Tutorial files weren't cleaned up correctly. Solution: Have it remove the whole directory tree of the HDF5 documents $(RM) -r $(DOCDIR)/hdf5 Platforms tested: Linux
Diffstat (limited to 'doc/Makefile.in')
-rw-r--r--doc/Makefile.in23
1 files changed, 11 insertions, 12 deletions
diff --git a/doc/Makefile.in b/doc/Makefile.in
index b5a4876..a5fea82 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -1,7 +1,8 @@
# HDF5 Library Doc Makefile(.in)
#
-# Copyright (C) 1997 National Center for Supercomputing Applications.
-# All rights reserved.
+# Copyright (C) 1997, 2002
+# National Center for Supercomputing Applications.
+# All rights reserved.
#
#
# This is the top level makefile of the Doc directory. It mostly just
@@ -22,35 +23,33 @@ lib progs check test _test install uninstall:
tests TAGS dep depend:
@@SETX@; for d in $(SUBDIRS); do \
- (cd $$d && $(MAKE) $@) || exit 1; \
+ (cd $$d && $(MAKE) $@) || exit 1; \
done
install-doc:
@if test -d $(DOCDIR) ; then \
- :; \
+ :; \
else \
- mkdir $(DOCDIR) && chmod 755 $(DOCDIR); \
+ mkdir $(DOCDIR) && chmod 755 $(DOCDIR); \
fi
@@SETX@; for d in $(SUBDIRS); do \
- (cd $$d && $(MAKE) $@) || exit 1; \
+ (cd $$d && $(MAKE) $@) || exit 1; \
done
uninstall-doc:
- @@SETX@; for d in $(SUBDIRS); do \
- (cd $$d && $(MAKE) $@) || exit 1; \
- done
+ -$(RM) -r $(DOCDIR)/hdf5
.PHONY: all lib progs test _test install uninstall dep depend clean \
mostlyclean distclean maintainer-clean
clean mostlyclean:
@@SETX@; for d in $(SUBDIRS); do \
- (cd $$d && $(MAKE) $@); \
+ (cd $$d && $(MAKE) $@); \
done
distclean:
@@SETX@; for d in $(SUBDIRS); do \
- (cd $$d && $(MAKE) $@); \
+ (cd $$d && $(MAKE) $@); \
done
-$(RM) Makefile
@@ -58,6 +57,6 @@ maintainer-clean: distclean
@echo "This target is intended for maintainers to use;"
@echo "it deletes files that may require special tools to rebuild."
@@SETX@; for d in $(SUBDIRS); do \
- (cd $$d && $(MAKE) $@); \
+ (cd $$d && $(MAKE) $@); \
done