X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/70986d84bc674b0fbd9a4dcf5ee192e2cec364bf..f2e1d4090df5b14fb7fdf33407df4f2bc7c5b342:/examples/local.mk?ds=sidebyside diff --git a/examples/local.mk b/examples/local.mk index 24763a85..05e28e1b 100644 --- a/examples/local.mk +++ b/examples/local.mk @@ -1,4 +1,4 @@ -# Copyright (C) 2005, 2008-2012 Free Software Foundation, Inc. +# Copyright (C) 2005, 2008-2013 Free Software Foundation, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -16,13 +16,16 @@ dist_noinst_SCRIPTS = examples/extexi examples/test TEST_LOG_COMPILER = $(top_srcdir)/examples/test +AM_CXXFLAGS = \ + $(WARN_CXXFLAGS) $(WARN_CXXFLAGS_TEST) $(WERROR_CXXFLAGS) + ## ------------ ## ## 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 = CLEANFILES += $(extracted) examples/extracted.stamp examples/extracted.stamp: $(doc) $(extexi)