From: Jonathan Rajotte Date: Fri, 30 Jan 2015 18:30:11 +0000 (-0500) Subject: Fix: out-of-tree build: missing xsd file for mi test execution X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=c49fc5e4a0d11d8d4fa87485a975bda66413b4d2;hp=c133fac808b63d525d34fcbc7c6ff98aac650e1d Fix: out-of-tree build: missing xsd file for mi test execution This need to be backported to stable 2.6. Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau --- diff --git a/src/common/Makefile.am b/src/common/Makefile.am index 3a2f4f0b2..97d0ecc96 100644 --- a/src/common/Makefile.am +++ b/src/common/Makefile.am @@ -41,3 +41,17 @@ if HAVE_LIBLTTNG_UST_CTL libconsumer_la_LIBADD += \ $(top_builddir)/src/common/ust-consumer/libust-consumer.la endif + +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