X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fregression%2FMakefile.am;h=17dd630002c258ce90eabfc160d0178ad24b09d6;hb=d4f53cc3de1217c965c2285709b784ff66a8033c;hp=3641cf151dd4c477f6f4f0df2b6deb2681c49e26;hpb=f134f7178a3d522b6e5946c19c1e209b4e0a7ab4;p=lttng-tools.git 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