X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fdaemon%2FMakefile.am;h=76a34ef07eb7cb41a4919dd0eb6ebfd1bd963e45;hb=ced06804cfc5116e4ea11c0a5b7520981cae79a6;hp=d457c06430f06f9c37420b326801e71ae5806fe9;hpb=43c28d504aa8ff65609f915a04e212fb923cfeba;p=lttng-tools.git diff --git a/tests/regression/ust/daemon/Makefile.am b/tests/regression/ust/daemon/Makefile.am index d457c0643..76a34ef07 100644 --- a/tests/regression/ust/daemon/Makefile.am +++ b/tests/regression/ust/daemon/Makefile.am @@ -13,3 +13,17 @@ endif noinst_SCRIPTS = test_daemon test_daemon.py EXTRA_DIST = test_daemon test_daemon.py + +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