]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: avoid stranded polkit file in client-only build
authorEric Blake <eblake@redhat.com>
Wed, 4 Sep 2013 03:00:40 +0000 (21:00 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 4 Sep 2013 20:39:35 +0000 (14:39 -0600)
commitbf3d9811e270451ebe86b5a91848f9771c545474
tree4719f02a9cdadc78013b1cd364c2b5183ea243d1
parentb420df72a8fdde2f7c0b7c6131370b8a6b4528af
build: avoid stranded polkit file in client-only build

daemon/Makefile.am installs a .policy file if WITH_LIBVIRTD and
WITH_POLKIT are both set.  src/Makefile.am, on the other hand,
installs a .policy file if WITH_POLKIT1 is set, but without checking
WITH_LIBVIRTD.  When running 'make rpm' with client_only manually
set, on a Fedora 19 box, that leads to a failure:

RPM build errors:
    Installed (but unpackaged) file(s) found:
   /usr/share/polkit-1/actions/org.libvirt.api.policy

Fix it by adding another conditional.

* src/Makefile.am (polkitaction_DATA): Make conditional.

Signed-off-by: Eric Blake <eblake@redhat.com>
src/Makefile.am