[svn-r9920] Purpose:

Bug fix

Description:
Found the permanant fix to automake/CVS dependency problem

Solution:
Added AM_MAINTAINER_MODE macro to configure.in.
Now automake will never try to regenerate Makefiles, Makefiles.in,
configure, H5config.h, etc. when they are out of date, nor will it
print any warnings.
Developers should  be very very careful to use reconfigure script,
and can add --enable-maintainer-mode flag to configure on heping
to regenerate these files correctly.

Platforms tested:
heping sleipnir copper
This commit is contained in:
James Laird
2005-02-02 15:59:46 -05:00
parent 42d126fa4e
commit ab243bf369
50 changed files with 248 additions and 116 deletions

View File

@@ -126,6 +126,7 @@ INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LT_STATIC_EXEC = @LT_STATIC_EXEC@
MAINT = @MAINT@
MPE = @MPE@
OBJDUMP = @OBJDUMP@
OBJECT_NAMELEN_DEFAULT_F = @OBJECT_NAMELEN_DEFAULT_F@
@@ -223,10 +224,10 @@ DIST_COMMON = Makefile.am Makefile.in
all: all-am
.SUFFIXES:
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/config/commence-doc.am $(top_srcdir)/config/commence.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/config/commence-doc.am $(top_srcdir)/config/commence.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && \
$(AUTOMAKE) --foreign doc/html/Tutor/examples/Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
mostlyclean-libtool:
@@ -387,7 +388,7 @@ uninstall-am: uninstall-info-am uninstall-localdocDATA \
lib progs check test _test:
@echo "Nothing to be done"
tests TAGS tags dep depend:
tests dep depend:
@@SETX@; for d in X $(SUBDIRS); do \
if test $$d != X; then \
(cd $$d && $(MAKE) $@) || exit 1; \