X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Futils%2Ftap%2FMakefile.am;h=f84d91c8ae331061358098a24b601881fd39ed47;hb=9d16b343fb9e781fc8d8fa3c448a3f382306dd33;hp=01df68a6fbf880ee50c265adfab672b8c0a9a45b;hpb=86a96e6cf3b4bab2fc7edd0db1b7c87c2374d27a;p=lttng-tools.git diff --git a/tests/utils/tap/Makefile.am b/tests/utils/tap/Makefile.am index 01df68a6f..f84d91c8a 100644 --- a/tests/utils/tap/Makefile.am +++ b/tests/utils/tap/Makefile.am @@ -1,2 +1,20 @@ -lib_LTLIBRARIES = libtap.la -libtap_la_SOURCES = tap.c +# 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