X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Ffork%2FMakefile.am;fp=tests%2Fregression%2Fust%2Ffork%2FMakefile.am;h=89a2ec985e972848cf51ae80376340c8c8d6bfea;hb=8b833f70b3d3697e74c54f3a2f5efbe5292097ef;hp=97f134f79ad293c9a4d02d3186a4903307342af1;hpb=5aaa62a111f332a7c4412558bb9da9b30320eefd;p=lttng-tools.git diff --git a/tests/regression/ust/fork/Makefile.am b/tests/regression/ust/fork/Makefile.am index 97f134f79..89a2ec985 100644 --- a/tests/regression/ust/fork/Makefile.am +++ b/tests/regression/ust/fork/Makefile.am @@ -18,3 +18,17 @@ endif noinst_SCRIPTS = test_fork test_fork.py EXTRA_DIST = test_fork test_fork.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