diff options
author | Akim Demaille <demaille@gostai.com> | 2012-02-24 12:10:07 +0100 |
---|---|---|
committer | Akim Demaille <demaille@gostai.com> | 2012-02-24 13:32:17 +0100 |
commit | 59fba180a5b8c7135445bfbada5e96266a3286e8 (patch) | |
tree | 807c172621f42ec6b63f7962f0524d3b5dff900e /examples/mfcalc/local.mk | |
parent | 2191bb749b8f63b6037ca7e590ae499d0bb26db9 (diff) | |
download | bison-59fba180a5b8c7135445bfbada5e96266a3286e8.tar.gz |
build: fix more example extraction issues.
* Makefile.am (dist_TESTS): New.
(TESTS, EXTRA_DIST): Run and ship them.
* examples/calc++/local.mk: examples/calc++/calc++.stamp no longer
exists, don't try to ship it.
(.yy.stamp): New recipe.
Use it.
* examples/calc++/local.mk, examples/mfcalc/local.mk,
* examples/rpcalc/local.mk:
Don't ship the sources.
Adjust the CPPFLAGS: there is nothing left in srcdir.
(MAINTAINERCLEANFILES): Remove, now we are in builddir.
(TESTS): Rename as...
(dist_TESTS): this.
Diffstat (limited to 'examples/mfcalc/local.mk')
-rw-r--r-- | examples/mfcalc/local.mk | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/examples/mfcalc/local.mk b/examples/mfcalc/local.mk index 8083dea0..539b4d0b 100644 --- a/examples/mfcalc/local.mk +++ b/examples/mfcalc/local.mk @@ -20,7 +20,6 @@ ## -------------------- ## BUILT_SOURCES += $(mfcalc_sources) -MAINTAINERCLEANFILES += $(mfcalc_sources) mfcalc_extracted = \ examples/mfcalc/calc.h \ @@ -31,9 +30,8 @@ extracted += $(mfcalc_extracted) check_PROGRAMS += examples/mfcalc/mfcalc examples_mfcalc_mfcalc_LDADD = -lm -examples_mfcalc_mfcalc_SOURCES = \ +nodist_examples_mfcalc_mfcalc_SOURCES = \ $(mfcalc_sources) -examples_mfcalc_mfcalc_CPPFLAGS = -I$(top_srcdir)/examples/mfcalc -TESTS += examples/mfcalc/mfcalc.test -EXTRA_DIST += examples/mfcalc/mfcalc.test +examples_mfcalc_mfcalc_CPPFLAGS = -I$(top_builddir)/examples/mfcalc +dist_TESTS += examples/mfcalc/mfcalc.test |