From 7b1ead095ff66b95e6612e09d7a8c46c1dbc961e Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Tue, 19 Feb 2002 16:01:02 -0500 Subject: [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 --- doc/Makefile.in | 23 +++++++++++------------ 1 file 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 -- cgit v0.12