hdf5/doc/Makefile.in
Bill Wendling 2c49a718d7 [svn-r4999] Purpose:
Bug Fix
Description:
	``make uninstall-doc'' wasn't working properly. Some files would be
	left behind in the installed source tree. The fix I put in was too
	heavy-handed as it wiped out the entire doc tree that was installed
	and would remove any other files which were installed there.
Solution:
	Executed the ``make uninstall-examples'' command if uninstalling the
	docs. Fixed how the java Tutorial examples were being removed (they
	weren't). Essentially used the PUB_SUBDOCS macro to help remove them.
Platforms tested:
	Linux
2002-02-21 16:10:29 -05:00

65 lines
1.9 KiB
Makefile

# HDF5 Library Doc Makefile(.in)
#
# 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
# reinvokes make in the various subdirectories.
# You can alternatively invoke make from each subdirectory manually.
#
top_srcdir=@top_srcdir@
top_builddir=..
srcdir=@srcdir@
@COMMENCE@
# Subdirectories in build-order
SUBDIRS=html
##===========================================================================
lib progs check test _test install uninstall:
@echo "Nothing to be done"
tests TAGS dep depend:
@@SETX@; for d in $(SUBDIRS); do \
(cd $$d && $(MAKE) $@) || exit 1; \
done
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; \
done
.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) $@); \
done
distclean:
@@SETX@; for d in $(SUBDIRS); do \
(cd $$d && $(MAKE) $@); \
done
-$(RM) Makefile
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) $@); \
done