X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fmeta%2FMakefile.am;fp=tests%2Fmeta%2FMakefile.am;h=becce81378ac7c0fe74d43c9dc7a189a1c200ca1;hb=6785c08c87af6432e966348bc4c91110ad66e91b;hp=044fc83c991ec0bbcf0a67d858a1aa476b43b9a8;hpb=c141039755df5bd7fb0504c4e7f20d1fe5a1786f;p=lttng-tools.git diff --git a/tests/meta/Makefile.am b/tests/meta/Makefile.am index 044fc83c9..becce8137 100644 --- a/tests/meta/Makefile.am +++ b/tests/meta/Makefile.am @@ -4,4 +4,20 @@ LOG_DRIVER_FLAGS = --merge LOG_DRIVER = env PGREP='$(PGREP)' AM_TAP_AWK='$(AWK)' $(SHELL) \ $(top_srcdir)/tests/utils/tap-driver.sh -TESTS = shellcheck-tests +TESTS = test_shellcheck + +EXTRA_DIST = $(TESTS) + +all-local: + @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ + for script in $(EXTRA_DIST); do \ + cp -f $(srcdir)/$$script $(builddir); \ + done; \ + fi + +clean-local: + @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ + for script in $(EXTRA_DIST); do \ + rm -f $(builddir)/$$script; \ + done; \ + fi