X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2FMakefile.am;h=17dd630002c258ce90eabfc160d0178ad24b09d6;hp=3641cf151dd4c477f6f4f0df2b6deb2681c49e26;hb=67df60e929042ca8a0ab519b9e122d12105d330a;hpb=f134f7178a3d522b6e5946c19c1e209b4e0a7ab4 diff --git a/tests/regression/Makefile.am b/tests/regression/Makefile.am index 3641cf151..17dd63000 100644 --- a/tests/regression/Makefile.am +++ b/tests/regression/Makefile.am @@ -1,8 +1,19 @@ SUBDIRS = tools kernel ust -EXTRA_DIST = run-report.py test_list.py run.sh - 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