mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
build: fix 'make distcheck'
I got these distcheck failures with sanlock enabled: ERROR: files left in build directory after distclean: ./tools/virt-sanlock-cleanup ./src/locking/qemu-sanlock.conf * src/Makefile.am (DISTCLEANFILES) [HAVE_SANLOCK]: Clean built file. * tools/Makefile.am (DISTCLEANFILES): Likewise.
This commit is contained in:
parent
e648aee0f5
commit
c654ba8893
@ -1328,6 +1328,7 @@ $(builddir)/locking/%-sanlock.conf: $(srcdir)/locking/sanlock.conf
|
||||
if WITH_QEMU
|
||||
conf_DATA += locking/qemu-sanlock.conf
|
||||
BUILT_SOURCES += locking/qemu-sanlock.conf
|
||||
DISTCLEANFILES += locking/qemu-sanlock.conf
|
||||
endif
|
||||
else
|
||||
EXTRA_DIST += $(LOCK_DRIVER_SANLOCK_SOURCES)
|
||||
|
@ -28,11 +28,14 @@ EXTRA_DIST = \
|
||||
libvirt-guests.init.sh \
|
||||
libvirt-guests.sysconf
|
||||
|
||||
DISTCLEANFILES =
|
||||
|
||||
bin_SCRIPTS = virt-xml-validate virt-pki-validate
|
||||
bin_PROGRAMS = virsh
|
||||
|
||||
if HAVE_SANLOCK
|
||||
sbin_SCRIPTS = virt-sanlock-cleanup
|
||||
DISTCLEANFILES += virt-sanlock-cleanup
|
||||
endif
|
||||
|
||||
dist_man1_MANS = virt-xml-validate.1 virt-pki-validate.1 virsh.1
|
||||
@ -187,4 +190,4 @@ CLEANFILES = $(bin_SCRIPTS)
|
||||
CLEANFILES += *.gcov .libs/*.gcda .libs/*.gcno *.gcno *.gcda *.i *.s
|
||||
MAINTAINERCLEANFILES = $(dist_man1_MANS)
|
||||
|
||||
DISTCLEANFILES = $(BUILT_SOURCES)
|
||||
DISTCLEANFILES += $(BUILT_SOURCES)
|
||||
|
Loading…
Reference in New Issue
Block a user