X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=Makefile;h=675c8e03dcf30a96912ecdb0933a0c050f0e60a8;hb=7a719c1772d45a9990560820a78ae76534ae3497;hp=d5e134b69ab9a6e39cf61085c2dfad4d37e4f538;hpb=1602f0afed21be664fcf5c42d59db07cc22c56d6;p=gnulib.git diff --git a/Makefile b/Makefile index d5e134b69..675c8e03d 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ all: info html dvi pdf: cd doc && $(MAKE) $@ && $(MAKE) mostlyclean -# Collect the names of rules starting with `sc_'. +# Collect the names of rules starting with 'sc_'. syntax-check-rules := $(sort $(shell sed -n 's/^\(sc_[a-zA-Z0-9_-]*\):.*/\1/p'\ 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 = \