summaryrefslogtreecommitdiff
path: root/examples/rpcalc/local.mk
diff options
context:
space:
mode:
authorAkim Demaille <akim@lrde.epita.fr>2013-12-09 16:29:05 +0100
committerAkim Demaille <akim@lrde.epita.fr>2013-12-09 16:53:14 +0100
commitb167e7ba0dd66dca7888782363fc97a3e282f8ef (patch)
treedd808551c908445684de0848928303bb8de02c1e /examples/rpcalc/local.mk
parent85d57e27d26ff11a99ee6d82d3b9d34c16f6efce (diff)
downloadbison-b167e7ba0dd66dca7888782363fc97a3e282f8ef.tar.gz
package: install the examples
Currently, we do not install the various examples extracted from the documentation. Let's do it, as they are useful starting points. * configure.ac: When --enable-gcc-warnings is set, enable ENABLE_GCC_WARNINGS. * examples/extexi: No longer issue synclines by default. * examples/local.mk: Except if ENABLE_GCC_WARNINGS. * examples/calc++/local.mk, examples/mfcalc/local.mk, * examples/rpcalc/local.mk: Install the example files.
Diffstat (limited to 'examples/rpcalc/local.mk')
-rw-r--r--examples/rpcalc/local.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/rpcalc/local.mk b/examples/rpcalc/local.mk
index 97f35356..125bb3ba 100644
--- a/examples/rpcalc/local.mk
+++ b/examples/rpcalc/local.mk
@@ -30,3 +30,10 @@ nodist_%C%_rpcalc_SOURCES = $(rpcalc_sources)
%C%_rpcalc_CPPFLAGS = -I$(top_builddir)/%D%
dist_TESTS += %D%/rpcalc.test
+
+## ------------ ##
+## Installing. ##
+## ------------ ##
+
+rpcalcdir = $(docdir)/examples/rpcalc
+rpcalc_DATA = $(rpcalc_extracted)