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:
@ -15,7 +15,7 @@ test_simplify = \
|
|||||||
|
|
||||||
EXTRA_DIST += \
|
EXTRA_DIST += \
|
||||||
$(test_simplify) \
|
$(test_simplify) \
|
||||||
test-simplify \
|
test-simplify.in \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
TESTS_ENVIRONMENT = \
|
TESTS_ENVIRONMENT = \
|
||||||
@ -25,6 +25,9 @@ TEST_PROGS += \
|
|||||||
test-simplify \
|
test-simplify \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
|
test-simplify:test-simplify.in
|
||||||
|
$(AM_V_GEN) cp $< $@
|
||||||
|
|
||||||
if BUILDOPT_INSTALL_TESTS
|
if BUILDOPT_INSTALL_TESTS
|
||||||
insttestdir = $(libexecdir)/installed-tests/$(PACKAGE)
|
insttestdir = $(libexecdir)/installed-tests/$(PACKAGE)
|
||||||
insttest_SCRIPTS = $(TEST_PROGS)
|
insttest_SCRIPTS = $(TEST_PROGS)
|
||||||
@ -39,6 +42,7 @@ test-simplify.test: test-simplify Makefile
|
|||||||
test_files = $(TEST_PROGS:=.test)
|
test_files = $(TEST_PROGS:=.test)
|
||||||
|
|
||||||
DISTCLEANFILES = \
|
DISTCLEANFILES = \
|
||||||
|
test-simplify \
|
||||||
$(test_files) \
|
$(test_files) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user