mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
3f0a35a4ea
Bug fix Description: pmake (on modi4, for instance) complains about undefined variables if it is run without the -V flag, which turns those errors to warnings. Solution: Added test to configure.in to see if $MAKE will allow Makefiles with undefined variables. If not, sets -V flag in AM_MAKEFLAGS. Ensured that all custom make targets use AM_MAKEFLAGS. Also defined all variables that caused errors in top-level Makefile.am. This means that pmake can be used to build hdf5 *from the top level only*. To run make from a subdirectory, still need to use -V flag (or use make or gmake). Platforms tested: modi4, heping, copper, sleipnir
23 lines
685 B
Plaintext
23 lines
685 B
Plaintext
## config/commence-doc.am
|
|
## This file supplies Makefile.am files in the doc directory (and subdirectories)
|
|
## with the rules they need.
|
|
|
|
include $(top_srcdir)/config/commence.am
|
|
|
|
# Ignore most rules
|
|
lib progs check test _test:
|
|
@echo "Nothing to be done"
|
|
|
|
tests dep depend:
|
|
@@SETX@; for d in X $(SUBDIRS); do \
|
|
if test $$d != X; then \
|
|
(cd $$d && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1; \
|
|
fi;
|
|
done
|
|
|
|
# In docs directory, install-doc is the same as install
|
|
install-doc install-all:
|
|
$(MAKE) $(AM_MAKEFLAGS) install
|
|
uninstall-doc uninstall-all:
|
|
$(MAKE) $(AM_MAKEFLAGS) uninstall
|