]> git.saurik.com Git - bison.git/blobdiff - examples/local.mk
style: remove useless C++ provisio
[bison.git] / examples / local.mk
index 3924543ce8bb19c3083e5dfcf1cf4ab599631be1..94a31674c872771c8533fc97585b4c28a655ac0c 100644 (file)
@@ -20,11 +20,11 @@ TEST_LOG_COMPILER = $(top_srcdir)/examples/test
 ## Extracting.  ##
 ## ------------ ##
 
-doc = $(top_srcdir)/doc/bison.texinfo
+doc = $(top_srcdir)/doc/bison.texi
 extexi = $(top_srcdir)/examples/extexi
-extract = $(AWK) -f $(extexi) -v VERSION="$(VERSION)" $(doc) --
+extract = VERSION="$(VERSION)" $(PERL) -f $(extexi) $(doc) --
 extracted =
-MAINTAINERCLEANFILES += $(extracted)
+CLEANFILES += $(extracted) examples/extracted.stamp
 examples/extracted.stamp: $(doc) $(extexi)
        $(AM_V_GEN)rm -f $@ $@.tmp
        $(AM_V_at)touch $@.tmp