Fix distcheck

Makefile.decl does not work well with scripts that stay
in srcdir, so generate test-simplify from test-simplify.in,
just os that it ends up in builddir.
This commit is contained in:
Matthias Clasen 2015-07-20 23:54:39 -04:00
parent 8102425f03
commit dee75bce2d
2 changed files with 5 additions and 1 deletions

View File

@ -15,7 +15,7 @@ test_simplify = \
EXTRA_DIST += \
$(test_simplify) \
test-simplify \
test-simplify.in \
$(NULL)
TESTS_ENVIRONMENT = \
@ -25,6 +25,9 @@ TEST_PROGS += \
test-simplify \
$(NULL)
test-simplify:test-simplify.in
$(AM_V_GEN) cp $< $@
if BUILDOPT_INSTALL_TESTS
insttestdir = $(libexecdir)/installed-tests/$(PACKAGE)
insttest_SCRIPTS = $(TEST_PROGS)
@ -39,6 +42,7 @@ test-simplify.test: test-simplify Makefile
test_files = $(TEST_PROGS:=.test)
DISTCLEANFILES = \
test-simplify \
$(test_files) \
$(NULL)