From: Stefano Lattarini Date: Wed, 4 Jan 2012 09:26:07 +0000 (+0100) Subject: Merge branch 'maint' X-Git-Tag: ng-0.5a~73 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=509348ecc96e7984f7630cc5f1300e7b174bb133;p=thirdparty%2Fautomake.git Merge branch 'maint' * maint: sync: auxiliary files from upstream synced sync: fix syncing of 'gitlog-to-changelog' script maintcheck: avoid false positive in sc_tests_plain_make --- 509348ecc96e7984f7630cc5f1300e7b174bb133 diff --cc Makefile.am index 77d76eb4f,8fe9c0fea..208ea2d55 --- a/Makefile.am +++ b/Makefile.am @@@ -497,34 -399,9 +497,34 @@@ sc_tests_make_without_am_makeflags exit 1; \ fi +## Look out for some obsolete variables. +sc_tests_obsolete_variables: + @vars=" \ + using_tap \ + parallel_tests \ + test_prefer_config_shell \ + original_AUTOMAKE \ + original_ACLOCAL \ + "; \ + seen=""; \ + for v in $$vars; do \ + if grep -E "\b$$v\b" \ + $(xtests) $(srcdir)/tests/defs \ + $(srcdir)/tests/defs-static.in \ + ; then \ + seen="$$seen $$v"; \ + fi; \ + done; \ + if test -n "$$seen"; then \ + for v in $$seen; do \ + echo "Variable '$$v' is obsolete, use 'am_$$v' instead." 1>&2; \ + done; \ + exit 1; \ + else :; fi + ## Tests should never call make directly. sc_tests_plain_make: - @if grep -v '^#' $(xtests) | $(EGREP) ':[ ]*make( |$$)'; then \ - @if grep -v '^#' $(srcdir)/tests/*.test | $(EGREP) ':[ ]*make( |$$)'; then \ ++ @if grep -v '^#' $(xtests) | $(EGREP) ':[ ]*make( |$$)'; then \ echo 'Do not run "make" in the above tests. Use "$$MAKE" instead.' 1>&2; \ exit 1; \ fi