[lttng-dev] [PATCH lttng-tool 1/2] Fix: out-of-tree build: missing xsd file for save-load test execution

Jonathan Rajotte jonathan.rajotte-julien at efficios.com
Fri Jan 30 13:30:10 EST 2015


This need to be backported to stable 2.6 and stable 2.5

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien at efficios.com>
---
 src/common/config/Makefile.am | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/src/common/config/Makefile.am b/src/common/config/Makefile.am
index 5acc89d..e36b42f 100644
--- a/src/common/config/Makefile.am
+++ b/src/common/config/Makefile.am
@@ -9,3 +9,17 @@ libconfig_la_LIBADD = $(XML_LIBS)
 xmldir = $(datadir)/xml/lttng
 dist_xml_DATA = session.xsd
 EXTRA_DIST = session.xsd
+
+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
-- 
1.9.1




More information about the lttng-dev mailing list