X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fdaemon%2FMakefile.am;h=cc63b63b744c1b45b589bad8bfcde31d4c5daf46;hb=343af227102f6b274bfd7f6c7220eb3b776ba5e3;hp=d457c06430f06f9c37420b326801e71ae5806fe9;hpb=43c28d504aa8ff65609f915a04e212fb923cfeba;p=lttng-tools.git diff --git a/tests/regression/ust/daemon/Makefile.am b/tests/regression/ust/daemon/Makefile.am index d457c0643..cc63b63b7 100644 --- a/tests/regression/ust/daemon/Makefile.am +++ b/tests/regression/ust/daemon/Makefile.am @@ -1,4 +1,4 @@ -AM_CPPFLAGS = -I$(srcdir) +AM_CPPFLAGS += -I$(srcdir) noinst_PROGRAMS = daemon daemon_SOURCES = daemon.c ust_tests_daemon.h @@ -13,3 +13,17 @@ endif noinst_SCRIPTS = test_daemon test_daemon.py EXTRA_DIST = test_daemon test_daemon.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