summaryrefslogtreecommitdiff
path: root/top/GNUmakefile
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-10-30 21:24:06 +0100
committerJim Meyering <meyering@redhat.com>2011-10-30 22:21:07 +0100
commita765077b04a89bffa2a6095c7988fb9a70857d7f (patch)
tree9afe3585acab1d3bafe8ef1c3326fd5a64374354 /top/GNUmakefile
parent92822428a2739c16caf12e75a4bba24258da3ec3 (diff)
downloadgnulib-a765077b04a89bffa2a6095c7988fb9a70857d7f.tar.gz
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.
Diffstat (limited to 'top/GNUmakefile')
-rw-r--r--top/GNUmakefile3
1 files changed, 2 insertions, 1 deletions
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 := \