Parcourir la source

[1150] Use noinst_SCRIPTS on generated scripts

Instead of EXTRA_DIST, this allows make to regenerate them on .in
change.
Michal 'vorner' Vaner il y a 13 ans
Parent
commit
43da3c6c1c

+ 1 - 0
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.

+ 2 - 1
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.

+ 1 - 1
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.

+ 3 - 2
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.