]> git.saurik.com Git - bison.git/commitdiff
Fix "make distcheck".
authorJoel E. Denny <jdenny@clemson.edu>
Tue, 4 Aug 2009 18:48:48 +0000 (14:48 -0400)
committerJoel E. Denny <jdenny@clemson.edu>
Tue, 4 Aug 2009 20:02:56 +0000 (16:02 -0400)
* examples/calc++/Makefile.am: Say $(srcdir)/calc.stamp instead
of just calc.stamp.
(cherry picked from commit cfc9e431c31f7f7291dd16a4a505d6a41e662d0c)

ChangeLog
examples/calc++/Makefile.am

index bcf5d96c241e5c4a2c575b20641ee77d766c0d30..878e5404e5011658361eff52131c2ba5ade25a8a 100644 (file)
--- 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.
index c7045a5d5fb2296fdd4a72d09c02438a5698e877..5e800c24d51c23c16b6490a6df50d5096cc464bd 100644 (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.  ##