mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-31 18:15:25 +00:00
build: fix virtlockd file distribution
Since virtlockd is only built when libvirtd is built, we should not install its auxiliary files unconditionally. This solves two failures. 1. 'make distcheck' complains: rm -f Makefile ERROR: files left in build directory after distclean: ./src/virtlockd.8 2. './autobuild.sh' complains: Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/eblake/rpmbuild/BUILDROOT/mingw-libvirt-1.1.1-1.fc19.eblake1377879911.x86_64 error: Installed (but unpackaged) file(s) found: /usr/i686-w64-mingw32/sys-root/mingw/etc/libvirt/virtlockd.conf /usr/i686-w64-mingw32/sys-root/mingw/share/augeas/lenses/tests/test_virtlockd.aug /usr/i686-w64-mingw32/sys-root/mingw/share/augeas/lenses/virtlockd.aug /usr/i686-w64-mingw32/sys-root/mingw/share/man/man8/virtlockd.8 /usr/x86_64-w64-mingw32/sys-root/mingw/etc/libvirt/virtlockd.conf /usr/x86_64-w64-mingw32/sys-root/mingw/share/augeas/lenses/tests/test_virtlockd.aug /usr/x86_64-w64-mingw32/sys-root/mingw/share/augeas/lenses/virtlockd.aug /usr/x86_64-w64-mingw32/sys-root/mingw/share/man/man8/virtlockd.8 * src/Makefile.am (CLEANFILES): Add virtlockd.8. (man8_MANS, conf_DATA, augeas_DATA, augeastest_DATA): Only install virtlockd files when daemon is built. Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
cd3fa76222
commit
902d62f0d4
@ -2046,14 +2046,16 @@ virtlockd.8: $(srcdir)/virtlockd.8.in
|
||||
< $< > $@-t && \
|
||||
mv $@-t $@
|
||||
|
||||
if WITH_LIBVIRTD
|
||||
man8_MANS = virtlockd.8
|
||||
|
||||
conf_DATA += locking/virtlockd.conf
|
||||
|
||||
augeas_DATA += locking/virtlockd.aug
|
||||
augeastest_DATA += test_virtlockd.aug
|
||||
endif WITH_LIBVIRTD
|
||||
|
||||
CLEANFILES += test_virtlockd.aug
|
||||
CLEANFILES += test_virtlockd.aug virtlockd.8
|
||||
MAINTAINERCLEANFILES += $(srcdir)/virtlockd.8.in
|
||||
|
||||
EXTRA_DIST += \
|
||||
|
Loading…
Reference in New Issue
Block a user