Hello Al, * Al Pacifico wrote on Wed, Nov 07, 2007 at 11:27:41PM CET: > What is the best way to distribute data files for use with the check target? [...] > tests/Makefile.am contains: > TESTS = check_suggest > check_PROGRAMS = check_suggest > check_suggest_SOURCES = check_suggest.c $(top_builddir)/src/suggest.h > check_suggest_CFLAGS = @CHECK_CFLAGS@ > check_suggest_LDADD = @CHECK_LIBS@ $(top_builddir)/src/libsuggest.la > check_DATA = sample.xml bogus.xml
To just distribute them I'd say try dist_check_DATA. > When I make check, sample.xml and bogus.xml aren't created... what > should I do differently? Well, what are they created from, and how? It seems you need to specify their dependencies and rules to create them. Cheers, Ralf
