X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Futils%2FMakefile.am;h=b3d5929738f4d8c7d92b929763685ca3cda8c717;hp=25c6e04c17088964e894f1e253e801bed522537c;hb=568d7e2db7370f57e9612eb9b8c1a6b0bf5213cd;hpb=c1e91a72b549afc9e7fe904b7ef9c1b670cfa775 diff --git a/tests/utils/Makefile.am b/tests/utils/Makefile.am index 25c6e04c1..b3d592973 100644 --- a/tests/utils/Makefile.am +++ b/tests/utils/Makefile.am @@ -1,4 +1,18 @@ -SUBDIRS = tap +SUBDIRS = tap testapp -EXTRA_DIST = utils.sh test_utils.py -dist_noinst_SCRIPTS = utils.sh test_utils.py +EXTRA_DIST = utils.sh test_utils.py babelstats.pl +dist_noinst_SCRIPTS = utils.sh test_utils.py babelstats.pl + +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