X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Futils%2Ftap%2FMakefile.am;h=0e78398feea29b5d359a910048648cb5d38d1074;hp=14cd2349776819b6889855f584c784a9079b4c42;hb=c83e7ca00efd681ec2406d2a2b2622d373ae2647;hpb=431387b05242f3cd52771cd4cdb3f09e9ef9a560 diff --git a/tests/utils/tap/Makefile.am b/tests/utils/tap/Makefile.am index 14cd23497..0e78398fe 100644 --- a/tests/utils/tap/Makefile.am +++ b/tests/utils/tap/Makefile.am @@ -1,4 +1,18 @@ -lib_LTLIBRARIES = libtap.la +noinst_LTLIBRARIES = libtap.la libtap_la_SOURCES = tap.c tap.h dist_noinst_SCRIPTS = tap.sh EXTRA_DIST = tap.sh + +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