X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2FMakefile.am;h=53e3e43c2a19b3ee84dbe323e6307bce7dfd2510;hp=3641cf151dd4c477f6f4f0df2b6deb2681c49e26;hb=568d7e2db7370f57e9612eb9b8c1a6b0bf5213cd;hpb=5d2e1e66a968d9e555f9b8b00d0589ebfaf3de32 diff --git a/tests/regression/Makefile.am b/tests/regression/Makefile.am index 3641cf151..53e3e43c2 100644 --- a/tests/regression/Makefile.am +++ b/tests/regression/Makefile.am @@ -1,8 +1,21 @@ SUBDIRS = tools kernel ust -EXTRA_DIST = run-report.py test_list.py run.sh +EXTRA_DIST = run-report.py test_list.py if HAVE_LIBLTTNG_UST_CTL SUBDIRS += ust endif # HAVE_LIBLTTNG_UST_CTL +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