mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
c9e8f0f7b6
Bug Fix Description: We only really need to go into the doc/ directory when doing a ``make install-doc''. Solution: Stop it from going further than here if doing some other type of make and just print a message saying "Nothing to do here" Platforms tested: Linux
64 lines
1.9 KiB
Makefile
64 lines
1.9 KiB
Makefile
# HDF5 Library Doc Makefile(.in)
|
|
#
|
|
# Copyright (C) 1997 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
|
|
|