[PATCH] build: always include sanitytest in tarball

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The libvirt 1.0.5 tarball is missing a file which renders 'make
check' broken; first reported on list by Guido Günther.

* python/Makefile.am (EXTRA_DIST): Hoise sanitytest.py out of
conditional.

Signed-off-by: Eric Blake <eblake@xxxxxxxxxx>
---

>   Agreed the EXTRA_DIST += sanitytest.py ought to go outside the
> HAVE_PYTHON conditional, I would even argue this should go to
> the initial set of files.

Pushing under the trivial rule.

 python/Makefile.am | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/python/Makefile.am b/python/Makefile.am
index 08b2135..ba444ef 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -1,6 +1,6 @@
 # Makefile for libvirt python library

-## Copyright (C) 2005-2012 Red Hat, Inc.
+## Copyright (C) 2005-2013 Red Hat, Inc.
 ## See COPYING.LIB for the License of this software

 SUBDIRS= . tests
@@ -40,6 +40,7 @@ EXTRA_DIST =			\
 	libvirt-lxc-override-api.xml \
 	libvirt-qemu-override.c	\
 	libvirt-qemu-override-api.xml \
+	sanitytest.py \
 	$(CLASSES_EXTRA) \
 	$(DOCS)

@@ -124,8 +125,6 @@ $(libvirtmod_la_OBJECTS): $(GENERATED)
 $(libvirtmod_qemu_la_OBJECTS): $(QEMU_GENERATED)
 $(libvirtmod_lxc_la_OBJECTS): $(LXC_GENERATED)

-EXTRA_DIST += sanitytest.py
-
 check-local:
 	$(AM_V_GEN)../run $(PYTHON) $(srcdir)/sanitytest.py

-- 
1.8.1.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]