From: Stefano Lattarini Date: Tue, 3 Jul 2012 21:56:54 +0000 (+0200) Subject: Merge branch 'master' into ng/master X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db4d85abb25a3c9df95cdff367eb0d0e26be4e6d;p=thirdparty%2Fautomake.git Merge branch 'master' into ng/master * master: tests: make 't/aclocal-macrodir.tap' executable maintcheck: fix spurious failure in 'maintainer-check-list-of-tests' build: fix cleaning of test directories in contrib (and in t/perf) aclocal: deprecate ACLOCAL_AMFLAGS, trace AC_CONFIG_MACRO_DIR instead Signed-off-by: Stefano Lattarini --- db4d85abb25a3c9df95cdff367eb0d0e26be4e6d diff --cc doc/automake-ng.texi index 03cca927a,9ef7e9fed..1acb622a8 --- a/doc/automake-ng.texi +++ b/doc/automake-ng.texi @@@ -12208,11 -12278,11 +12178,6 @@@ DejaGnu tests (@pxref{DejaGnu Tests}) u (@pxref{Java}) use @code{JAVACFLAGS} and @code{AM_JAVACFLAGS}. None of these rules support per-target flags (yet). - However you should not think that all variables ending with @code{FLAGS} - follow this convention. For instance, @code{ACLOCAL_AMFLAGS} (see - @ref{Rebuilding} and @ref{Local Macros}) is a variable that is only - useful to the maintainer and has no user counterpart. -To some extent, even @code{AM_MAKEFLAGS} (@pxref{Subdirectories}) -obeys this naming scheme. The slight difference is that -@code{MAKEFLAGS} is passed to sub-@command{make}s implicitly by -@command{make} itself. -- @code{ARFLAGS} (@pxref{A Library}) is usually defined by Automake and has neither @code{AM_} nor per-target cousin. diff --cc lib/am/configure.am index ec276b920,95332fae9..9c55e6e3b --- a/lib/am/configure.am +++ b/lib/am/configure.am @@@ -106,10 -117,13 +103,13 @@@ $(top_srcdir)/configure: %MAINTAINER-MO ## aclocal.m4 too. Changing configure.ac, or any file included by ## aclocal.m4 might require adding more files to aclocal.m4. Hence ## the $(am__configure_deps) dependency. + ## We still need $(ACLOCAL_AMFLAGS) for sake of backward-compatibility; + ## we should hopefully be able to get rid of it in a not-so-distant + ## future. if %?REGEN-ACLOCAL-M4% $(ACLOCAL_M4): %MAINTAINER-MODE% $(am__aclocal_m4_deps) -?TOPDIR_P? $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) -?!TOPDIR_P? cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +?TOPDIR_P? cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) +?!TOPDIR_P? cd $(top_builddir) && $(MAKE) .am/nil ## Avoid the "deleted header file" problem for the dependencies. $(am__aclocal_m4_deps): diff --cc t/remake10c.sh index 739d7a73a,97c8745c0..5c221778a --- a/t/remake10c.sh +++ b/t/remake10c.sh @@@ -24,9 -24,14 +24,10 @@@ magic1=::MagicStringOne: magic2=__MagicStringTwo__ magic3=%%MagicStringThree%% -if using_gmake; then - remake="$MAKE nil" -else - remake="$MAKE Makefile" -fi +remake="$MAKE nil" cat >> configure.ac <