+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.
2009-08-01 Joel E. Denny <jdenny@clemson.edu>
Pacify "gcc -Wunused" for the input function from Flex.
doc = $(top_srcdir)/doc/bison.texinfo
extexi = $(top_srcdir)/examples/extexi
# Extract in src.
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) && \
rm -f $@ $@.tmp
touch $@.tmp
cd $(srcdir) && \
calc++-scanner.ll calc++.cc calc++-driver.hh calc++-driver.cc
mv $@.tmp $@
calc++-scanner.ll calc++.cc calc++-driver.hh calc++-driver.cc
mv $@.tmp $@
-$(calc_extracted): calc.stamp
+$(calc_extracted): $(srcdir)/calc.stamp
## ------------------- ##
## Parser generation. ##
## ------------------- ##
## Parser generation. ##