]> git.draconx.ca Git - cdecl99.git/commitdiff
Add missing test files to the distribution.
authorNick Bowler <nbowler@draconx.ca>
Sat, 25 Feb 2012 16:27:36 +0000 (11:27 -0500)
committerNick Bowler <nbowler@draconx.ca>
Thu, 1 Mar 2012 01:16:59 +0000 (20:16 -0500)
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

index d6a754937cc811372e0505b8efda2e2451f52be2..90439ad6358b2e8686e16b90baaf4822bfc4c659 100644 (file)
@@ -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