Fix: out-of-tree build: missing xsd file for save-load test execution
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Fri, 30 Jan 2015 18:30:10 +0000 (13:30 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 6 Feb 2015 17:05:56 +0000 (12:05 -0500)
This need to be backported to stable 2.6 and stable 2.5

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/config/Makefile.am

index 5acc89d54e792bdd46b37ade3efc6addf8dde049..e36b42fb011fbd351bedcf4b0b0a95e8126e5b2c 100644 (file)
@@ -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
This page took 0.026328 seconds and 4 git commands to generate.