build: always include sanitytest in tarball

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): Hoist sanitytest.py out of
HAVE_PYTHON conditional.

Signed-off-by: Eric Blake <eblake@redhat.com>
(cherry picked from commit 5a3487dadb)
This commit is contained in:
Eric Blake 2013-05-02 11:56:34 -06:00 committed by Laine Stump
parent 2b9bf71b6c
commit 3e7adcf682

View File

@ -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