X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Flibc-wrapper%2FMakefile.am;fp=tests%2Fregression%2Fust%2Flibc-wrapper%2FMakefile.am;h=d35ca81294a23f0487a2b9fb947e30245f33f5e2;hb=8b833f70b3d3697e74c54f3a2f5efbe5292097ef;hp=af12d31edbc2c8dd6e657c78614943ed1f48a3c5;hpb=5aaa62a111f332a7c4412558bb9da9b30320eefd;p=lttng-tools.git diff --git a/tests/regression/ust/libc-wrapper/Makefile.am b/tests/regression/ust/libc-wrapper/Makefile.am index af12d31ed..d35ca8129 100644 --- a/tests/regression/ust/libc-wrapper/Makefile.am +++ b/tests/regression/ust/libc-wrapper/Makefile.am @@ -6,3 +6,17 @@ prog_LDADD = -llttng-ust -llttng-ust-libc-wrapper noinst_SCRIPTS = test_libc-wrapper test_libc-wrapper.py EXTRA_DIST = test_libc-wrapper test_libc-wrapper.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