From ae5f44dbf46c87c1318fde8ab5b5a68048e5af08 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Fri, 22 Nov 2013 14:16:39 -0500 Subject: [PATCH] Fix: lttng-gen-tp to build out of tree Signed-off-by: David Goulet Signed-off-by: Mathieu Desnoyers --- tools/Makefile.am | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 -- 2.34.1