Fix "make distcheck".

* examples/calc++/Makefile.am: Say $(srcdir)/calc.stamp instead
of just calc.stamp.
(cherry picked from commit cfc9e431c3)
This commit is contained in:
Joel E. Denny
2009-08-04 14:48:48 -04:00
parent 4521fcdf02
commit bfa018d447
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
2009-08-04 Joel E. Denny <jdenny@clemson.edu>
Fix "make distcheck".
* examples/calc++/Makefile.am: Say $(srcdir)/calc.stamp instead
of just calc.stamp.
2009-08-01 Joel E. Denny <jdenny@clemson.edu>
Pacify "gcc -Wunused" for the input function from Flex.

View File

@@ -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. ##