X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fexit-fast%2FMakefile.am;h=4424b0d20f16d83d29eb05e14b3ee37daa0035d0;hb=87e96404184f6c8e06d693d89684674f2e63d1e5;hp=ff47cd9dee56b7b78edfd8982633fcef7e0c3a09;hpb=ee28adfb4b4f5a6b24f4d23024ed256af37060c6;p=lttng-tools.git diff --git a/tests/regression/ust/exit-fast/Makefile.am b/tests/regression/ust/exit-fast/Makefile.am index ff47cd9de..4424b0d20 100644 --- a/tests/regression/ust/exit-fast/Makefile.am +++ b/tests/regression/ust/exit-fast/Makefile.am @@ -1,4 +1,4 @@ -AM_CPPFLAGS = -I$(srcdir) +AM_CPPFLAGS += -I$(srcdir) noinst_PROGRAMS = exit-fast exit_fast_SOURCES = exit-fast.c ust_tests_exitfast.h @@ -13,3 +13,17 @@ endif noinst_SCRIPTS = test_exit-fast test_exit-fast.py EXTRA_DIST = test_exit-fast test_exit-fast.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