From addc89a2fb7874c55ed5bc8b9b463a62bc1b17ca 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