mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
build: fix distcheck
Now that distcheck no longer fails (see previous commit), let's address the shortcomings. * Makefile.am (CLEANDIRS, clean-local): New. * doc/local.mk, examples/calc++/local.mk, examples/local.mk, * examples/mfcalc/local.mk, examples/rpcalc/local.mk, * src/local.mk (CLEANDIRS): Get rid of Apple's *.dSYM directories. (CLEANFILES): Get rid of *.output files. * examples/variant-11.yy, examples/variant.yy: Don't generate any of the auxiliary files (location.hh and the like).
This commit is contained in:
@@ -43,6 +43,7 @@ AM_CFLAGS = $(WARN_CFLAGS)
|
||||
# instead of "-Ilib" avoids infinite recursions on #include_next.
|
||||
AM_CPPFLAGS = -I. -I./lib -I$(top_srcdir) -I$(top_srcdir)/lib
|
||||
BUILT_SOURCES =
|
||||
CLEANDIRS =
|
||||
CLEANFILES =
|
||||
DISTCLEANFILES =
|
||||
EXTRA_DIST += $(dist_TESTS)
|
||||
@@ -64,6 +65,9 @@ include lib/local.mk
|
||||
include src/local.mk
|
||||
include tests/local.mk
|
||||
|
||||
clean-local:
|
||||
rm -rf $(CLEANDIRS)
|
||||
|
||||
# See comments in build-aux/git-version-gen. However, we make .version depend
|
||||
# on configure so that .version and VERSION/PACKAGE_VERSION stay in sync in the
|
||||
# working copy (for example, when you run autoreconf && make). Allowing these
|
||||
|
||||
Reference in New Issue
Block a user