From c6dcb6021d8f593bbb1bc1e82d0f193685e5a4a7 Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Sat, 25 Feb 2012 11:27:36 -0500 Subject: [PATCH] Add missing test files to the distribution. Oops; distcheck wasn't testing this (yet) so half the files in test/ were not actually included in the distribution. Also switch to using check_LTLIBRARIES instead of EXTRA_LTLIBRARIES because the latter does not clean properly for some reason (and the former is more appropriate conceptually, anyway). --- Makefile.am | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index d6a7549..90439ad 100644 --- a/Makefile.am +++ b/Makefile.am @@ -14,6 +14,7 @@ noinst_LTLIBRARIES = AM_CPPFLAGS = -I$(top_builddir)/src -I$(top_srcdir)/src \ -I$(top_builddir)/lib -I$(top_srcdir)/lib \ -I$(top_builddir) -I$(top_srcdir) \ + -I$(top_builddir)/test \ -DBISON_LOCALEDIR=\"$(BISON_LOCALEDIR)\" \ -DLOCALEDIR=\"$(localedir)\" @@ -27,7 +28,7 @@ CLEANFILES = src/validtypes.h src/errtab.h src/namespecs.h src/ordspecs.h \ EXTRA_DIST = m4/gnulib-cache.m4 src/types.lst src/validtypes.sed \ src/specs.lst src/namespecs.sed src/ordspecs.sed \ - src/errors.lst src/strtab.sed \ + src/errors.lst src/strtab.sed test/typegen.sh \ src/parse.y src/parse.stamp src/scan.l src/scan.stamp \ COPYING.WTFPL2 @@ -35,7 +36,8 @@ dist_man_MANS = doc/man/cdecl99.1 doc/man/libcdecl.3 include_HEADERS = src/cdecl.h noinst_HEADERS = conf_post.h src/typemap.h src/output.h src/scan.h \ - src/parse.h src/i18n.h src/normalize.h src/error.h + src/parse.h src/i18n.h src/normalize.h src/error.h test/declgen.h \ + test/test.h noinst_DATA = $(MOFILES) @@ -51,7 +53,7 @@ $(libcdecl_la_OBJECTS): $(gnulib_headers) bin_PROGRAMS = cdecl99 check_PROGRAMS = -EXTRA_LTLIBRARIES = libtest.la +check_LTLIBRARIES = libtest.la libtest_la_LIBADD = $(GSL_LIBS) libtest_la_SOURCES = test/testlib.c -- 2.43.2