add AppArmor test and examples to dist

tests/virt-aa-helper-test and examples/apparmor are not included in
official tarballs, but should be. Attached is a patch to fix that
which works when apparmor is and is not available.
This commit is contained in:
Jamie Strandboge 2009-12-14 13:40:42 +01:00 committed by Daniel Veillard
parent 1fb7af40cd
commit ad905a195e
4 changed files with 10 additions and 1 deletions

View File

@ -5,7 +5,7 @@ GENHTML = genhtml
SUBDIRS = gnulib/lib include src daemon tools proxy docs gnulib/tests \
python tests po examples/domain-events/events-c examples/hellolibvirt \
examples/dominfo examples/domsuspend examples/python
examples/dominfo examples/domsuspend examples/python examples/apparmor
ACLOCAL_AMFLAGS = -I m4 -I gnulib/m4

View File

@ -1813,6 +1813,7 @@ AC_OUTPUT(Makefile src/Makefile include/Makefile docs/Makefile \
tests/xmconfigdata/Makefile \
tests/xencapsdata/Makefile \
tests/confdata/Makefile \
examples/apparmor/Makefile \
examples/domain-events/events-c/Makefile \
examples/domsuspend/Makefile \
examples/dominfo/Makefile \

View File

@ -0,0 +1,5 @@
EXTRA_DIST= \
TEMPLATE \
libvirt-qemu \
usr.lib.libvirt.virt-aa-helper \
usr.sbin.libvirtd

View File

@ -135,7 +135,10 @@ endif
if WITH_SECDRIVER_APPARMOR
test_scripts += virt-aa-helper-test
else
EXTRA_DIST += virt-aa-helper-test
endif
EXTRA_DIST += $(test_scripts)
TESTS = virshtest \