X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fregression%2Ftools%2Fsnapshots%2FMakefile.am;fp=tests%2Fregression%2Ftools%2Fsnapshots%2FMakefile.am;h=66e9ddd318039c50be580a7bc9f61e0e1defe0b8;hb=8b833f70b3d3697e74c54f3a2f5efbe5292097ef;hp=40cb8e1102b4e6ae14ec1af172c6a2ab642ba78e;hpb=5aaa62a111f332a7c4412558bb9da9b30320eefd;p=lttng-tools.git 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