From da402d1caef3f4a849cefe516780d7a3cf61811f Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Wed, 20 Jun 2012 10:02:11 +0200 Subject: maint: regen. * Makefile.am (regen): New target. (cherry picked from commit 71bff31edd4ddbfe3c350933652bb0e3a4a7f3e2) --- cfg.mk | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cfg.mk') diff --git a/cfg.mk b/cfg.mk index c56e965b..31a2532f 100644 --- a/cfg.mk +++ b/cfg.mk @@ -14,6 +14,14 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +# Update version, then recompile so that tests/bison --version be +# up-to-date, then compile our parser again with our up-to-date bison. +.PHONY: regen +regen: _version + $(MAKE) $(AM_MAKEFLAGS) + touch $(srcdir)/src/parse-gram.y + $(MAKE) $(AM_MAKEFLAGS) + # Used in maint.mk's web-manual rule manual_title = The Yacc-compatible Parser Generator -- cgit v1.2.1