[libvirt] [PATCH] build: distribute commandtest files

Eric Blake eblake at redhat.com
Fri Dec 10 15:10:24 UTC 2010


* tests/Makefile.am (SUBDIRS): Add commanddata.
* tests/commanddata/Makefile.am: New file.
* configure.ac (AC_OUTPUT): Build new makefile.
Reported by Dominik Klein.
---

This should do the trick.  I'll push it under the build-breaker
rule if it passes 'make distcheck' (still in progress as I type this).

 configure.ac                  |    1 +
 tests/Makefile.am             |    2 +-
 tests/commanddata/Makefile.am |    2 ++
 3 files changed, 4 insertions(+), 1 deletions(-)
 create mode 100644 tests/commanddata/Makefile.am

diff --git a/configure.ac b/configure.ac
index dde2cde..d8be160 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2254,6 +2254,7 @@ AC_OUTPUT(Makefile src/Makefile include/Makefile docs/Makefile \
           tests/xmconfigdata/Makefile \
           tests/xencapsdata/Makefile \
           tests/confdata/Makefile \
+          tests/commanddata/Makefile \
           examples/apparmor/Makefile \
           examples/domain-events/events-c/Makefile \
           examples/domsuspend/Makefile \
diff --git a/tests/Makefile.am b/tests/Makefile.am
index e5c8d36..0a235cf 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -2,7 +2,7 @@

 SHELL = $(PREFERABLY_POSIX_SHELL)

-SUBDIRS = confdata sexpr2xmldata \
+SUBDIRS = commanddata confdata sexpr2xmldata \
   xml2sexprdata xmconfigdata xencapsdata

 INCLUDES = \
diff --git a/tests/commanddata/Makefile.am b/tests/commanddata/Makefile.am
new file mode 100644
index 0000000..ea0f8e1
--- /dev/null
+++ b/tests/commanddata/Makefile.am
@@ -0,0 +1,2 @@
+EXTRA_DIST = \
+   $(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/*.log))
-- 
1.7.3.2




More information about the libvir-list mailing list