bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Fix "make distcheck".


From: Joel E. Denny
Subject: [PATCH] Fix "make distcheck".
Date: Tue, 4 Aug 2009 16:31:19 -0400 (EDT)
User-agent: Alpine 1.00 (DEB 882 2007-12-20)

I pushed this to branch-2.4.2, branch-2.5, and master.

>From cfc9e431c31f7f7291dd16a4a505d6a41e662d0c Mon Sep 17 00:00:00 2001
From: Joel E. Denny <address@hidden>
Date: Tue, 4 Aug 2009 14:48:48 -0400
Subject: [PATCH] Fix "make distcheck".

* examples/calc++/Makefile.am: Say $(srcdir)/calc.stamp instead
of just calc.stamp.
---
 ChangeLog                   |    6 ++++++
 examples/calc++/Makefile.am |    4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 3c0ba08..3e2695a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-08-04  Joel E. Denny  <address@hidden>
+
+       Fix "make distcheck".
+       * examples/calc++/Makefile.am: Say $(srcdir)/calc.stamp instead
+       of just calc.stamp.
+
 2009-08-01  Joel E. Denny  <address@hidden>
 
        Pacify "gcc -Wunused" for the input function from Flex.
diff --git a/examples/calc++/Makefile.am b/examples/calc++/Makefile.am
index 1f82505..a115d57 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 $@ address@hidden
        touch address@hidden
        cd $(srcdir) && \
@@ -40,7 +40,7 @@ calc.stamp: $(doc) $(extexi)
             calc++-scanner.ll calc++.cc calc++-driver.hh calc++-driver.cc
        mv address@hidden $@
 
-$(calc_extracted): calc.stamp
+$(calc_extracted): $(srcdir)/calc.stamp
 
 ## ------------------- ##
 ## Parser generation.  ##
-- 
1.5.4.3





reply via email to

[Prev in Thread] Current Thread [Next in Thread]