X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Ffiltering%2FMakefile.am;fp=tests%2Fregression%2Ftools%2Ffiltering%2FMakefile.am;h=7889c87919b213d2c325609b49ea96cef2b713bb;hb=8b833f70b3d3697e74c54f3a2f5efbe5292097ef;hp=ca60dbf632d7c90466d8000597231d0e7047e09e;hpb=5aaa62a111f332a7c4412558bb9da9b30320eefd;p=lttng-tools.git diff --git a/tests/regression/tools/filtering/Makefile.am b/tests/regression/tools/filtering/Makefile.am index ca60dbf63..7889c8791 100644 --- a/tests/regression/tools/filtering/Makefile.am +++ b/tests/regression/tools/filtering/Makefile.am @@ -16,3 +16,17 @@ endif noinst_SCRIPTS = test_unsupported_op test_invalid_filter test_valid_filter EXTRA_DIST = test_unsupported_op test_invalid_filter test_valid_filter + +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