mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-07-11 04:15:49 +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
|
if WITH_QEMU
|
||||||
conf_DATA += locking/qemu-sanlock.conf
|
conf_DATA += locking/qemu-sanlock.conf
|
||||||
BUILT_SOURCES += locking/qemu-sanlock.conf
|
BUILT_SOURCES += locking/qemu-sanlock.conf
|
||||||
|
DISTCLEANFILES += locking/qemu-sanlock.conf
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
EXTRA_DIST += $(LOCK_DRIVER_SANLOCK_SOURCES)
|
EXTRA_DIST += $(LOCK_DRIVER_SANLOCK_SOURCES)
|
||||||
|
@ -28,11 +28,14 @@ EXTRA_DIST = \
|
|||||||
libvirt-guests.init.sh \
|
libvirt-guests.init.sh \
|
||||||
libvirt-guests.sysconf
|
libvirt-guests.sysconf
|
||||||
|
|
||||||
|
DISTCLEANFILES =
|
||||||
|
|
||||||
bin_SCRIPTS = virt-xml-validate virt-pki-validate
|
bin_SCRIPTS = virt-xml-validate virt-pki-validate
|
||||||
bin_PROGRAMS = virsh
|
bin_PROGRAMS = virsh
|
||||||
|
|
||||||
if HAVE_SANLOCK
|
if HAVE_SANLOCK
|
||||||
sbin_SCRIPTS = virt-sanlock-cleanup
|
sbin_SCRIPTS = virt-sanlock-cleanup
|
||||||
|
DISTCLEANFILES += virt-sanlock-cleanup
|
||||||
endif
|
endif
|
||||||
|
|
||||||
dist_man1_MANS = virt-xml-validate.1 virt-pki-validate.1 virsh.1
|
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
|
CLEANFILES += *.gcov .libs/*.gcda .libs/*.gcno *.gcno *.gcda *.i *.s
|
||||||
MAINTAINERCLEANFILES = $(dist_man1_MANS)
|
MAINTAINERCLEANFILES = $(dist_man1_MANS)
|
||||||
|
|
||||||
DISTCLEANFILES = $(BUILT_SOURCES)
|
DISTCLEANFILES += $(BUILT_SOURCES)
|
||||||
|
Loading…
Reference in New Issue
Block a user