summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-01-17 17:51:40 +0100
committerJim Meyering <meyering@redhat.com>2012-01-21 15:07:01 +0100
commit6caa4f5fa929fead3e181a2a151da4fb1953ba93 (patch)
treecabe2aea5ed8928744a10e0a89841b378d292042 /Makefile
parent11cd159f52a9abb8835b1d03cd3560f5ccc06e63 (diff)
downloadgnulib-6caa4f5fa929fead3e181a2a151da4fb1953ba93.tar.gz
maint: add framework to run syntax-check rules against gnulib sources
* cfg.mk: New file, to disable all currently-failing tests. We'll enable them one by one, as they are made to pass. * Makefile (sc_maint): New rule.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 85af2c3f97..675c8e03dc 100644
--- a/Makefile
+++ b/Makefile
@@ -49,6 +49,13 @@ sc_prohibit_augmenting_PATH_via_TESTS_ENVIRONMENT:
" see <$$url>" 1>&2; exit 1; } || : \
else :; fi
+# Run all maint.mk syntax-check tests on gnulib's sources.
+sc_maint:
+ rm -f maint.mk; ln -s top/maint.mk maint.mk
+ $(MAKE) -s srcdir=. gnulib_dir=. _build-aux=build-aux \
+ -f cfg.mk -f maint.mk syntax-check
+ rm -f maint.mk
+
# Files in m4/ that (exceptionally) may use AC_LIBOBJ.
# Do not include their ".m4" suffix.
allow_AC_LIBOBJ = \