X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Fsnapshots%2FMakefile.am;h=66e9ddd318039c50be580a7bc9f61e0e1defe0b8;hp=40cb8e1102b4e6ae14ec1af172c6a2ab642ba78e;hb=c83e7ca00efd681ec2406d2a2b2622d373ae2647;hpb=92db7cdc97f4bb5776fa698442d8af4e5c1e3bf3 diff --git a/tests/regression/tools/snapshots/Makefile.am b/tests/regression/tools/snapshots/Makefile.am index 40cb8e110..66e9ddd31 100644 --- a/tests/regression/tools/snapshots/Makefile.am +++ b/tests/regression/tools/snapshots/Makefile.am @@ -1,2 +1,16 @@ noinst_SCRIPTS = test_kernel test_kernel_streaming test_ust test_ust_streaming EXTRA_DIST = test_kernel test_kernel_streaming test_ust test_ust_streaming + +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