From 6e114111b785964e2970d050530cc9f669d04dce Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Fri, 30 Jan 2015 13:30:10 -0500 Subject: [PATCH] Fix: out-of-tree build: missing xsd file for save-load test execution MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This need to be backported to stable 2.6 and stable 2.5 Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau --- 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 5acc89d54..e36b42fb0 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 -- 2.34.1