From: David Goulet Date: Fri, 22 Nov 2013 19:16:39 +0000 (-0500) Subject: Fix: lttng-gen-tp to build out of tree X-Git-Tag: v2.3.2~10 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=addc89a2fb7874c55ed5bc8b9b463a62bc1b17ca;p=lttng-ust.git Fix: lttng-gen-tp to build out of tree Signed-off-by: David Goulet Signed-off-by: Mathieu Desnoyers --- diff --git a/tools/Makefile.am b/tools/Makefile.am index 4ea75331..1bdd3f8a 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -1 +1,16 @@ dist_bin_SCRIPTS = lttng-gen-tp +EXTRA_DIST = lttng-gen-tp + +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