]> git.saurik.com Git - bison.git/blobdiff - examples/local.mk
package: install the examples
[bison.git] / examples / local.mk
index 9f7863c14922a4bcab65520f8e7ede68c310189d..8274e0078c460803ff25e5175bb4b1eb5237c399 100644 (file)
@@ -25,7 +25,10 @@ AM_CXXFLAGS =                                                        \
 
 doc = $(top_srcdir)/doc/bison.texi
 extexi = $(top_srcdir)/%D%/extexi
-extract = VERSION="$(VERSION)" $(PERL) $(extexi) $(doc) --
+if ENABLE_GCC_WARNINGS
+extexiFLAGS = --synclines
+endif
+extract = VERSION="$(VERSION)" $(PERL) $(extexi) $(extexiFLAGS) $(doc) --
 extracted =
 CLEANFILES += $(extracted) %D%/extracted.stamp
 %D%/extracted.stamp: $(doc) $(extexi)