maint: rewrite extexi in Perl.

* examples/extexi: Rewrite in Perl.
* examples/local.mk (extract): Adjust.
This commit is contained in:
Akim Demaille
2012-04-07 18:58:57 +02:00
parent ed0e63dc0a
commit 8e15fef554
2 changed files with 129 additions and 113 deletions

View File

@@ -22,7 +22,8 @@ TEST_LOG_COMPILER = $(top_srcdir)/examples/test
doc = $(top_srcdir)/doc/bison.texinfo
extexi = $(top_srcdir)/examples/extexi
extract = $(AWK) -f $(extexi) -v VERSION="$(VERSION)" $(doc) --
PERL = perl
extract = VERSION="$(VERSION)" $(PERL) -f $(extexi) $(doc) --
extracted =
CLEANFILES += $(extracted) examples/extracted.stamp
examples/extracted.stamp: $(doc) $(extexi)