bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: maint: regen


From: Akim Demaille
Subject: FYI: maint: regen
Date: Wed, 20 Jun 2012 10:21:06 +0200

I have installed this in both maint and master.

From 71bff31edd4ddbfe3c350933652bb0e3a4a7f3e2 Mon Sep 17 00:00:00 2001
From: Akim Demaille <address@hidden>
Date: Wed, 20 Jun 2012 10:02:11 +0200
Subject: [PATCH] maint: regen.

* Makefile.am (regen): New target.
---
 cfg.mk |    8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/cfg.mk b/cfg.mk
index e29b1dd..392d211 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 <http://www.gnu.org/licenses/>.
 
+# 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
 
-- 
1.7.10.4





reply via email to

[Prev in Thread] Current Thread [Next in Thread]