Newer automakes don't like this.
noinst_PROGRAMS=
EXTRA_PROGRAMS=
CLEANFILES=
+DISTCLEANFILES=
BUILT_SOURCES =
include include/include.am
include sample/include.am
doxygen $(srcdir)/Doxyfile
FORCE:
-DISTCLEANFILES = *~ libevent.pc ./include/event2/event-config.h
+DISTCLEANFILES += *~ libevent.pc ./include/event2/event-config.h
test/tinytest_local.h \
test/tinytest_macros.h
-TESTS = $(top_srcdir)/test/test.sh
+# We need to copy this file, since automake doesn't want us to use top_srcdir
+# in TESTS.
+TESTS = test/test-script.sh
+
+test/test-script.sh: test/test.sh
+ cp $< $@
+
+DISTCLEANFILES += test/test-script.sh
if BUILD_REGRESS
BUILT_SOURCES += test/regress.gen.c test/regress.gen.h