]> 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 19:43:38 +0000 (15:43 -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 18c5898847c4af42c3a0e8d4d423d199c0313f9e..a79bfffb84a9291ebc8f2299d536bc577fef9682 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 1f825056f60cb1be3eb0b958bba35fc806446c09..a115d57a72963813143c043106bcc6244097aa11 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.  ##