diff options
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 52 |
1 files changed, 42 insertions, 10 deletions
diff --git a/Makefile.am b/Makefile.am index ab1dfedd8..fa3dd3f3d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -69,9 +69,8 @@ EXTRA_DIST += \ $(AUTOMAKESOURCES) \ bootstrap.sh \ GNUmakefile \ - maint.mk \ - syntax-checks.mk \ - HACKING + HACKING \ + PLANS # Make versioned links. We only run the transform on the root name; # then we make a versioned link with the transformed base name. This @@ -117,8 +116,8 @@ maintainer-clean-local: rm -rf .autom4te.cache # So that automake won't complain about the missing ChangeLog. -# The real rule for ChangeLog generation is now in maint.mk (as -# it is maintainer-specific). +# The real rule for ChangeLog generation is now in maintainer/maint.mk +# (as it is maintainer-specific). ChangeLog: @@ -339,7 +338,7 @@ TESTS = # Some testsuite-influential variables should be overridable from the # test scripts, but not from the environment. -# Keep this in sync with the similar list in 'runtest.in'. +# Keep this in sync with the similar list in 't/ax/runtest.in'. AM_TESTS_ENVIRONMENT = \ for v in \ required \ @@ -447,14 +446,25 @@ EXTRA_DIST += t/ax/shell-no-trail-bslash.in CLEANFILES += t/ax/shell-no-trail-bslash noinst_SCRIPTS += t/ax/shell-no-trail-bslash -runtest: runtest.in Makefile +t/ax/cc-no-c-o: t/ax/cc-no-c-o.in Makefile $(AM_V_at)rm -f $@ $@-t - $(AM_V_GEN)in=runtest.in \ + $(AM_V_GEN)in=t/ax/cc-no-c-o.in \ && $(MKDIR_P) t/ax \ - && $(do_subst) <$(srcdir)/runtest.in >$@-t \ + && $(do_subst) <$(srcdir)/$$in >$@-t \ && chmod a+x $@-t $(generated_file_finalize) -EXTRA_DIST += runtest.in +EXTRA_DIST += t/ax/cc-no-c-o.in +CLEANFILES += t/ax/cc-no-c-o +noinst_SCRIPTS += t/ax/cc-no-c-o + +runtest: t/ax/runtest.in Makefile + $(AM_V_at)rm -f $@ $@-t + $(AM_V_GEN)in=t/ax/runtest.in \ + && $(MKDIR_P) t/ax \ + && $(do_subst) <$(srcdir)/$$in >$@-t \ + && chmod a+x $@-t + $(generated_file_finalize) +EXTRA_DIST += t/ax/runtest.in CLEANFILES += runtest noinst_SCRIPTS += runtest @@ -519,6 +529,17 @@ check-no-trailing-backslash-in-recipes: CONFIG_SHELL='$(abs_top_builddir)/t/ax/shell-no-trail-bslash' .PHONY: check-no-trailing-backslash-in-recipes +# Some compilers out there (hello, MSVC) still choke on "-c -o" being +# passed together on the command line. Run the whole testsuite faking +# the presence of such a compiler, to help catch regressions that would +# otherwise only present themselves later "in the wild". See also the +# long discussion about automake bug#13378. +check-cc-no-c-o: + $(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) check \ + CC='$(abs_top_builddir)/t/ax/cc-no-c-o' \ + GNU_CC='$(abs_top_builddir)/t/ax/cc-no-c-o' +.PHONY: check-cc-no-c-o + ## Checking the list of tests. test_subdirs = t t/pm contrib/t include $(srcdir)/t/CheckListOfTests.am @@ -679,3 +700,14 @@ EXTRA_DIST += \ old/ChangeLog.09 \ old/ChangeLog.11 \ old/TODO + +## ---------------------------------------- ## +## Maintainer-specific files and scripts. ## +## ---------------------------------------- ## + +EXTRA_DIST += \ + maintainer/am-ft \ + maintainer/am-xft \ + maintainer/rename-tests \ + maintainer/maint.mk \ + maintainer/syntax-checks.mk |