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-Tag: v2.6.1~119 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=2127e54cb889f7dafbeae704484d6439a0017b2e;p=lttng-tools.git 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