[libvirt] [PATCH] build: include augeas-gentest.pl and libvirt_qemu_probes.h into dist file

Wen Congyang wency at cn.fujitsu.com
Wed May 30 02:15:13 UTC 2012


We generate *.aug from *.aug.in by augeas-gentest.pl, so this script
should be included in dist file.

We split QEMU dtrace probes into separate file, but we forget include
libvirt_qemu_probes.h into dist file.

---
 src/Makefile.am |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index c8efa5b..c418897 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1120,6 +1120,7 @@ check-local: check-augeas
 check-augeas: check-augeas-qemu check-augeas-lxc check-augeas-sanlock
 
 AUG_GENTEST = $(top_srcdir)/build-aux/augeas-gentest.pl
+EXTRA_DIST += $(AUG_GENTEST)
 
 if WITH_QEMU
 qemu/test_libvirtd_qemu.aug: qemu/test_libvirtd_qemu.aug.in qemu/qemu.conf $(AUG_GENTEST)
@@ -1289,7 +1290,8 @@ if WITH_REMOTE
 $(REMOTE_DRIVER_GENERATED): libvirt_probes.h
 endif WITH_REMOTE
 
-BUILT_SOURCES += libvirt_probes.h libvirt_probes.stp libvirt_functions.stp
+BUILT_SOURCES += libvirt_probes.h libvirt_probes.stp libvirt_functions.stp \
+		 libvirt_qemu_probes.h
 
 if WITH_QEMU
 libvirt_driver_qemu_la_LIBADD += libvirt_qemu_probes.lo
-- 
1.7.1




More information about the libvir-list mailing list