X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Futils%2Ftap%2FMakefile.am;h=f84d91c8ae331061358098a24b601881fd39ed47;hp=14cd2349776819b6889855f584c784a9079b4c42;hb=1831ae68b70dece8e9b847081526495adbbf05e5;hpb=431387b05242f3cd52771cd4cdb3f09e9ef9a560 diff --git a/tests/utils/tap/Makefile.am b/tests/utils/tap/Makefile.am index 14cd23497..f84d91c8a 100644 --- a/tests/utils/tap/Makefile.am +++ b/tests/utils/tap/Makefile.am @@ -1,4 +1,20 @@ -lib_LTLIBRARIES = libtap.la +# SPDX-License-Identifier: GPL-2.0-only + +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