Skip to content

Commit 902c6eb

Browse files
committed
check scripts need to be explicitly included in EXTRA_DIST. this is one of the classic Automake gotchas. check_SCRIPTS tells Automake: “these are test-related scripts that should be built/copied into the test environment.” But check_SCRIPTS does not imply distribution. Only *_SOURCES, EXTRA_DIST, and a few others (like dist_*) imply files are part of the distribution tarball."
1 parent f643692 commit 902c6eb

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Makefile.am

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,8 @@ tools/sorter/sorter: $(srcdir)/tools/sorter/sorter.base Makefile
624624

625625
EXTRA_DIST += test/legacy/runtests.sh
626626

627-
check_SCRIPTS = \
627+
## Check system
628+
check_script_files = \
628629
test/check_static.sh \
629630
test/test_libraries.sh \
630631
test/test_static_tools.sh \
@@ -637,6 +638,9 @@ check_SCRIPTS = \
637638
test/tools/vstools/test_mmls.sh \
638639
test/tools/vstools/test_mmls_E01.sh
639640

641+
check_SCRIPTS = $(check_script_files)
642+
EXTRA_DIST += $(check_script_files)
643+
640644
TESTS = \
641645
test/runner \
642646
test/test_libraries.sh \
@@ -712,7 +716,7 @@ get_images_inputs = \
712716
test/get_images/test_images.yaml
713717

714718
test/get_images/test_images.txt: $(get_images_inputs)
715-
bash test/get_images/get_test_images.bash
719+
bash $(srcdir)/test/get_images/get_test_images.bash
716720

717721
EXTRA_DIST += $(get_images_inputs)
718722

0 commit comments

Comments
 (0)