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.4.0-rc2~15 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ae5f44dbf46c87c1318fde8ab5b5a68048e5af08;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