X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Fhealth%2FMakefile.am;h=c22d5ee390ab1592583dfe1a93987300a21d81af;hb=4d6fd6965d3dcff5ae2a157c58873f30dc117c09;hp=098fbf421aee5ee9c119b0fc14ecf66cc7ecd6d0;hpb=431387b05242f3cd52771cd4cdb3f09e9ef9a560;p=lttng-tools.git diff --git a/tests/regression/tools/health/Makefile.am b/tests/regression/tools/health/Makefile.am index 098fbf421..c22d5ee39 100644 --- a/tests/regression/tools/health/Makefile.am +++ b/tests/regression/tools/health/Makefile.am @@ -39,3 +39,17 @@ endif dist_noinst_SCRIPTS = test_thread_exit test_thread_stall test_tp_fail EXTRA_DIST = test_thread_exit test_thread_stall test_tp_fail + +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