summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel E. Denny <jdenny@clemson.edu>2009-08-04 14:48:48 -0400
committerJoel E. Denny <jdenny@clemson.edu>2009-08-04 16:02:56 -0400
commitb30e18dc8a3d9b8b41ea776d57b7638146f5a608 (patch)
tree7abd1e118f57b106573ab15d0d8f54cc103516a2
parent8d90395dd7aa01e6616cb46eddc1dbddafd8d9ee (diff)
downloadbison-b30e18dc8a3d9b8b41ea776d57b7638146f5a608.tar.gz
Fix "make distcheck".
* examples/calc++/Makefile.am: Say $(srcdir)/calc.stamp instead of just calc.stamp. (cherry picked from commit cfc9e431c31f7f7291dd16a4a505d6a41e662d0c)
-rw-r--r--ChangeLog6
-rw-r--r--examples/calc++/Makefile.am4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index bcf5d96c..878e5404 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/examples/calc++/Makefile.am b/examples/calc++/Makefile.am
index c7045a5d..5e800c24 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. ##