mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-18 00:33:03 +00:00
maint: maintainer-release-check.
* tests/Makefile.am (maintainer-release-check): New. * Makefile.am (MAINTAINER_CHECKS): New. Support maintainer-release-check. * README-hacking: Document it, and syntax-check too.
This commit is contained in:
17
Makefile.am
17
Makefile.am
@@ -30,16 +30,13 @@ EXTRA_DIST = .prev-version .version \
|
|||||||
djgpp/subpipe.c djgpp/subpipe.h djgpp/djunpack.bat \
|
djgpp/subpipe.c djgpp/subpipe.h djgpp/djunpack.bat \
|
||||||
djgpp/fnchange.lst djgpp/testsuite.sed
|
djgpp/fnchange.lst djgpp/testsuite.sed
|
||||||
|
|
||||||
.PHONY: maintainer-check
|
MAINTAINER_CHECKS = \
|
||||||
maintainer-check:
|
maintainer-check \
|
||||||
$(AM_V_GEN)cd tests && $(MAKE) $(AM_MAKEFLAGS) $@
|
maintainer-push-check \
|
||||||
|
maintainer-xml-check \
|
||||||
.PHONY: maintainer-push-check
|
maintainer-release-check
|
||||||
maintainer-push-check:
|
.PHONY: $(MAINTAINER_CHECKS)
|
||||||
$(AM_V_GEN)cd tests && $(MAKE) $(AM_MAKEFLAGS) $@
|
$(MAINTAINER_CHECKS):
|
||||||
|
|
||||||
.PHONY: maintainer-xml-check
|
|
||||||
maintainer-xml-check:
|
|
||||||
$(AM_V_GEN)cd tests && $(MAKE) $(AM_MAKEFLAGS) $@
|
$(AM_V_GEN)cd tests && $(MAKE) $(AM_MAKEFLAGS) $@
|
||||||
|
|
||||||
# See comments in build-aux/git-version-gen. However, we make .version depend
|
# See comments in build-aux/git-version-gen. However, we make .version depend
|
||||||
|
|||||||
@@ -180,6 +180,9 @@ release:
|
|||||||
- Build with -DGNULIB_POSIXCHECK. It suggests gnulib modules that can
|
- Build with -DGNULIB_POSIXCHECK. It suggests gnulib modules that can
|
||||||
fix portability issues.
|
fix portability issues.
|
||||||
|
|
||||||
|
- Check with `make syntax-check' if there are issues diagnosed by
|
||||||
|
gnulib.
|
||||||
|
|
||||||
- run `make maintainer-check' which:
|
- run `make maintainer-check' which:
|
||||||
- runs `valgrind -q bison' to run Bison under Valgrind.
|
- runs `valgrind -q bison' to run Bison under Valgrind.
|
||||||
- runs the parsers 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
|
Bison's included XSLT style sheets with the output of --report=all and
|
||||||
--graph.
|
--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
|
- Change tests/atlocal/CFLAGS to add your preferred options. For
|
||||||
instance, `-traditional' to check that the parsers are K&R. Note
|
instance, `-traditional' to check that the parsers are K&R. Note
|
||||||
that it does not make sense for glr.c, which should be ANSI,
|
that it does not make sense for glr.c, which should be ANSI,
|
||||||
|
|||||||
@@ -100,3 +100,6 @@ maintainer-push-check:
|
|||||||
.PHONY: maintainer-xml-check
|
.PHONY: maintainer-xml-check
|
||||||
maintainer-xml-check:
|
maintainer-xml-check:
|
||||||
BISON_TEST_XML=1 $(MAKE) $(AM_MAKEFLAGS) maintainer-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
|
||||||
|
|||||||
Reference in New Issue
Block a user