Fix: lttng-gen-tp to build out of tree
authorDavid Goulet <dgoulet@efficios.com>
Fri, 22 Nov 2013 19:16:39 +0000 (14:16 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 4 Feb 2014 20:20:14 +0000 (15:20 -0500)
Signed-off-by: David Goulet <dgoulet@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tools/Makefile.am

index 4ea75331596e19e1973b99a8cf0644e9a1653952..1bdd3f8a4ee2b3a89bc3bccb2fdd941fe4fc46fd 100644 (file)
@@ -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
This page took 0.025923 seconds and 4 git commands to generate.