X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=tools%2FMakefile.am;h=65e9dcf2459e2ff84a5907e094ba62fa2a350e8b;hb=f7f0310af616d6baffebc42ce2374947e90f4256;hp=4ea75331596e19e1973b99a8cf0644e9a1653952;hpb=b25c5b37ef536d7b09fe901d97e678220ec69c9a;p=lttng-ust.git diff --git a/tools/Makefile.am b/tools/Makefile.am index 4ea75331..65e9dcf2 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -1 +1,17 @@ +# SPDX-License-Identifier: LGPL-2.1-only + dist_bin_SCRIPTS = lttng-gen-tp + +all-local: + @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ + for script in $(dist_bin_SCRIPTS); do \ + cp -f $(srcdir)/$$script $(builddir); \ + done; \ + fi + +clean-local: + @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ + for script in $(dist_bin_SCRIPTS); do \ + rm -f $(builddir)/$$script; \ + done; \ + fi