mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-09 07:32:32 +08:00
2c49a718d7
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
65 lines
1.9 KiB
Makefile
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
|
|
|