]> git.saurik.com Git - bison.git/commitdiff
maint: maintainer-release-check.
authorAkim Demaille <akim@lrde.epita.fr>
Tue, 8 May 2012 10:04:24 +0000 (12:04 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Tue, 8 May 2012 10:07:29 +0000 (12:07 +0200)
* tests/Makefile.am (maintainer-release-check): New.
* Makefile.am (MAINTAINER_CHECKS): New.
Support maintainer-release-check.
* README-hacking: Document it, and syntax-check too.

Makefile.am
README-hacking
tests/Makefile.am

index f2b6b207464758b47858f1939787f59b4f65aa3c..47c68369686ceaa1111233b426c240ed2fcc5d95 100644 (file)
@@ -30,16 +30,13 @@ EXTRA_DIST = .prev-version .version \
   djgpp/subpipe.c djgpp/subpipe.h djgpp/djunpack.bat \
   djgpp/fnchange.lst djgpp/testsuite.sed
 
-.PHONY: maintainer-check
-maintainer-check:
-       $(AM_V_GEN)cd tests && $(MAKE) $(AM_MAKEFLAGS) $@
-
-.PHONY: maintainer-push-check
-maintainer-push-check:
-       $(AM_V_GEN)cd tests && $(MAKE) $(AM_MAKEFLAGS) $@
-
-.PHONY: maintainer-xml-check
-maintainer-xml-check:
+MAINTAINER_CHECKS =                            \
+  maintainer-check                             \
+  maintainer-push-check                                \
+  maintainer-xml-check                         \
+  maintainer-release-check
+.PHONY: $(MAINTAINER_CHECKS)
+$(MAINTAINER_CHECKS):
        $(AM_V_GEN)cd tests && $(MAKE) $(AM_MAKEFLAGS) $@
 
 # See comments in build-aux/git-version-gen.  However, we make .version depend
index 70f346a37175f6050d06ff3ea1298fc7edccf4a9..97c73a80c5b3e506841b6d9849eb717bfe70b504 100644 (file)
@@ -180,6 +180,9 @@ release:
 - Build with -DGNULIB_POSIXCHECK.  It suggests gnulib modules that can
   fix portability issues.
 
+- Check with `make syntax-check' if there are issues diagnosed by
+  gnulib.
+
 - run `make maintainer-check' which:
   - runs `valgrind -q bison' to run Bison under Valgrind.
   - runs the parsers under Valgrind.
@@ -197,6 +200,9 @@ release:
   Bison's included XSLT style sheets with the output of --report=all and
   --graph.
 
+- running `make maintainer-release-check' takes care of running
+  maintainer-check, maintainer-push-check and maintainer-xml-check.
+
 - Change tests/atlocal/CFLAGS to add your preferred options.  For
   instance, `-traditional' to check that the parsers are K&R.  Note
   that it does not make sense for glr.c, which should be ANSI,
index 7a2139df4ca2b79ef61a3cf9468f169697231627..e3e46a4fc75e04340c12773c084aab69348af64b 100644 (file)
@@ -100,3 +100,6 @@ maintainer-push-check:
 .PHONY: maintainer-xml-check
 maintainer-xml-check:
        BISON_TEST_XML=1 $(MAKE) $(AM_MAKEFLAGS) maintainer-check
+
+.PHONY: maintainer-release-check
+maintainer-release-check: maintainer-check maintainer-push-check maintainer-xml-check