From: Michal 'vorner' Vaner Date: Wed, 24 Aug 2011 12:15:10 +0000 (+0200) Subject: [1150] Use noinst_SCRIPTS on generated scripts X-Git-Tag: perftcpdns_before_epoll~191^2~18^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=43da3c6c1cc7cb5fcb1dbe2f983a53e883408d1b;p=thirdparty%2Fkea.git [1150] Use noinst_SCRIPTS on generated scripts Instead of EXTRA_DIST, this allows make to regenerate them on .in change. --- diff --git a/src/bin/bind10/tests/Makefile.am b/src/bin/bind10/tests/Makefile.am index d9e012fdfe..3f87fb55a1 100644 --- a/src/bin/bind10/tests/Makefile.am +++ b/src/bin/bind10/tests/Makefile.am @@ -2,6 +2,7 @@ PYCOVERAGE_RUN = @PYCOVERAGE_RUN@ #PYTESTS = args_test.py bind10_test.py # NOTE: this has a generated test found in the builddir PYTESTS = bind10_test.py +noinst_SCRIPTS = $(PYTESTS) # If necessary (rare cases), explicitly specify paths to dynamic libraries # required by loadable python modules. diff --git a/src/bin/cfgmgr/tests/Makefile.am b/src/bin/cfgmgr/tests/Makefile.am index bd672419ea..24ff2bc4b0 100644 --- a/src/bin/cfgmgr/tests/Makefile.am +++ b/src/bin/cfgmgr/tests/Makefile.am @@ -1,7 +1,8 @@ PYCOVERAGE_RUN = @PYCOVERAGE_RUN@ PYTESTS = b10-cfgmgr_test.py -EXTRA_DIST = $(PYTESTS) testdata/plugins/testplugin.py +noinst_SCRIPTS = $(PYTESTS) +EXTRA_DIST = testdata/plugins/testplugin.py # If necessary (rare cases), explicitly specify paths to dynamic libraries # required by loadable python modules. diff --git a/src/bin/xfrout/tests/Makefile.am b/src/bin/xfrout/tests/Makefile.am index 99f4843f88..cf520b1005 100644 --- a/src/bin/xfrout/tests/Makefile.am +++ b/src/bin/xfrout/tests/Makefile.am @@ -1,6 +1,6 @@ PYCOVERAGE_RUN=@PYCOVERAGE_RUN@ PYTESTS = xfrout_test.py -EXTRA_DIST = $(PYTESTS) +noinst_SCRIPTS = $(PYTESTS) # If necessary (rare cases), explicitly specify paths to dynamic libraries # required by loadable python modules. diff --git a/src/lib/python/isc/log/tests/Makefile.am b/src/lib/python/isc/log/tests/Makefile.am index 6bb67de0d3..a518398853 100644 --- a/src/lib/python/isc/log/tests/Makefile.am +++ b/src/lib/python/isc/log/tests/Makefile.am @@ -1,6 +1,7 @@ PYCOVERAGE_RUN = @PYCOVERAGE_RUN@ -PYTESTS = log_test.py -EXTRA_DIST = $(PYTESTS) log_console.py.in console.out check_output.sh +PYTESTS_GEN = log_test.py +noinst_SCRIPTS = $(PYTESTS) log_console.py +EXTRA_DIST = console.out check_output.sh # If necessary (rare cases), explicitly specify paths to dynamic libraries # required by loadable python modules.