From: Jim Meyering Date: Sun, 30 Oct 2011 20:24:06 +0000 (+0100) Subject: GNUmakefile: reenable "make syntax-check" for most projects X-Git-Tag: v0.1~1520 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=a765077b04a89bffa2a6095c7988fb9a70857d7f;p=gnulib.git GNUmakefile: reenable "make syntax-check" for most projects Since Friday's commit 05e2d798, "maint.mk: don't maintain a second build-aux variable", "syntax-check" would do nothing but succeed with the "No version control files detected..." diagnostic (unless you happened to override _build-aux via cfg.mk). * top/GNUmakefile (_autoreconf, _build-aux): Move default definitions to precede inclusion of maint.mk. Otherwise, these variables would be used undefined in any project that does not override the default. --- diff --git a/ChangeLog b/ChangeLog index 30cc2af8f9..99e20ff8c8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2011-10-30 Jim Meyering + + GNUmakefile: reenable "make syntax-check" for most projects + Since Friday's commit 05e2d798, "maint.mk: don't maintain a second + build-aux variable", "syntax-check" would do nothing but succeed with + the "No version control files detected..." diagnostic (unless you + happened to override _build-aux via cfg.mk). + * top/GNUmakefile (_autoreconf, _build-aux): Move default definitions + to precede inclusion of maint.mk. Otherwise, these variables would + be used undefined in any project that does not override the default. + 2011-10-29 Dmitry V. Levin gitlog-to-changelog: treat a message with only blank lines as empty. diff --git a/top/GNUmakefile b/top/GNUmakefile index 6e00ec89e7..ca88b6b0d1 100644 --- a/top/GNUmakefile +++ b/top/GNUmakefile @@ -45,12 +45,13 @@ include Makefile # Some projects override e.g., _autoreconf here. -include $(srcdir)/cfg.mk -include $(srcdir)/maint.mk # Allow cfg.mk to override these. _build-aux ?= build-aux _autoreconf ?= autoreconf -v +include $(srcdir)/maint.mk + # Ensure that $(VERSION) is up to date for dist-related targets, but not # for others: rerunning autoreconf and recompiling everything isn't cheap. _have-git-version-gen := \