forked from AuroraMiddleware/gtk
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:
parent
8102425f03
commit
dee75bce2d
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user