X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2FMakefile.am;h=17dd630002c258ce90eabfc160d0178ad24b09d6;hp=ddb737213320c3e354a44dad83d6c1f5012c1f71;hb=67df60e929042ca8a0ab519b9e122d12105d330a;hpb=32414a0fddfe7c098cc4fd0e7d5424ab160ce8d1 diff --git a/tests/regression/Makefile.am b/tests/regression/Makefile.am index ddb737213..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 - 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