From: Joel E. Denny Date: Tue, 4 Aug 2009 18:48:48 +0000 (-0400) Subject: Fix "make distcheck". X-Git-Tag: v2.5_rc1~204 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/bfa018d4470dacd09095d0ed83c57c93d1f5737a?ds=sidebyside Fix "make distcheck". * examples/calc++/Makefile.am: Say $(srcdir)/calc.stamp instead of just calc.stamp. (cherry picked from commit cfc9e431c31f7f7291dd16a4a505d6a41e662d0c) --- diff --git a/ChangeLog b/ChangeLog index 18c58988..a79bfffb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-08-04 Joel E. Denny + + Fix "make distcheck". + * examples/calc++/Makefile.am: Say $(srcdir)/calc.stamp instead + of just calc.stamp. + 2009-08-01 Joel E. Denny Pacify "gcc -Wunused" for the input function from Flex. diff --git a/examples/calc++/Makefile.am b/examples/calc++/Makefile.am index 1f825056..a115d57a 100644 --- a/examples/calc++/Makefile.am +++ b/examples/calc++/Makefile.am @@ -31,7 +31,7 @@ $(BISON): $(BISON_IN) doc = $(top_srcdir)/doc/bison.texinfo extexi = $(top_srcdir)/examples/extexi # Extract in src. -calc.stamp: $(doc) $(extexi) +$(srcdir)/calc.stamp: $(doc) $(extexi) rm -f $@ $@.tmp touch $@.tmp cd $(srcdir) && \ @@ -40,7 +40,7 @@ calc.stamp: $(doc) $(extexi) calc++-scanner.ll calc++.cc calc++-driver.hh calc++-driver.cc mv $@.tmp $@ -$(calc_extracted): calc.stamp +$(calc_extracted): $(srcdir)/calc.stamp ## ------------------- ## ## Parser generation. ##