X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Futils%2Ftap%2FMakefile.am;h=f84d91c8ae331061358098a24b601881fd39ed47;hb=9d16b343fb9e781fc8d8fa3c448a3f382306dd33;hp=366f4c4a566bf6b61a9fac0213cad85d6cd0ff99;hpb=329e5f263bb703643fd808de6ceca3aeac014aa8;p=lttng-tools.git diff --git a/tests/utils/tap/Makefile.am b/tests/utils/tap/Makefile.am index 366f4c4a5..f84d91c8a 100644 --- a/tests/utils/tap/Makefile.am +++ b/tests/utils/tap/Makefile.am @@ -1,2 +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