summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkim Demaille <demaille@gostai.com>2008-09-23 15:00:06 +0200
committerAkim Demaille <demaille@gostai.com>2008-11-15 10:31:05 +0100
commitcd409e3b50c48def3561ac56366d6b45e6d0f6ce (patch)
tree641da52105fabebfda21316a934ebd511afb002c
parent9a1e42148a364910b0a162133c5d1e7683d2d5ae (diff)
downloadbison-cd409e3b50c48def3561ac56366d6b45e6d0f6ce.tar.gz
Remove examples/local.mk.
examples/calc++/Makefile.am might be interesting to keep as is, since it is an example in itself. * examples/Makefile.am: Rename as... * examples/local.mk: this. Adjust. * Makefile.am, configure.ac: Adjust.
-rw-r--r--ChangeLog11
-rw-r--r--Makefile.am6
-rw-r--r--configure.ac3
-rw-r--r--examples/local.mk (renamed from examples/Makefile.am)9
4 files changed, 19 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index bbdeb2d6..707aad9d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,16 @@
2008-11-15 Akim Demaille <demaille@gostai.com>
+ Remove examples/local.mk.
+ examples/calc++/Makefile.am might be interesting to keep as is, since
+ it is an example in itself.
+
+ * examples/Makefile.am: Rename as...
+ * examples/local.mk: this.
+ Adjust.
+ * Makefile.am, configure.ac: Adjust.
+
+2008-11-15 Akim Demaille <demaille@gostai.com>
+
Remove build-aux/Makefile.am.
Recursive Makefiles are really way too slow, let's get rid of some of
them.
diff --git a/Makefile.am b/Makefile.am
index 90bef28a..3362bd6f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -17,7 +17,10 @@
ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = po runtime-po lib data src doc examples tests etc
+SUBDIRS = po runtime-po lib data src doc tests etc
+if BISON_CXX_WORKS
+SUBDIRS += examples/calc++
+endif
# Files installed for use by Automake.
aclocaldir = @aclocaldir@
@@ -31,6 +34,7 @@ EXTRA_DIST = .prev-version .version cfg.mk maint.mk \
djgpp/fnchange.lst djgpp/testsuite.sed
include build-aux/local.mk
+include examples/local.mk
.PHONY: maintainer-check
maintainer-check:
diff --git a/configure.ac b/configure.ac
index 496f6e83..51e0553f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -152,8 +152,7 @@ AC_CONFIG_FILES([Makefile
po/Makefile.in
data/Makefile
etc/Makefile
- examples/Makefile
- examples/calc++/Makefile
+ examples/calc++/Makefile
lib/Makefile src/Makefile
doc/Makefile
doc/yacc.1])
diff --git a/examples/Makefile.am b/examples/local.mk
index 4f2176fc..0718b67a 100644
--- a/examples/Makefile.am
+++ b/examples/local.mk
@@ -1,5 +1,4 @@
-## Process this file with automake to produce Makefile.in -*-Makefile-*-
-## Copyright (C) 2005 Free Software Foundation, Inc.
+## Copyright (C) 2005, 2008 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -14,8 +13,4 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if BISON_CXX_WORKS
-SUBDIRS = calc++
-endif
-
-dist_noinst_SCRIPTS = extexi
+dist_noinst_SCRIPTS = examples/extexi