mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-04-01 20:05:19 +00:00
build: centralize rule for handling generated config files
Instead of adding generated config files to CLEANFILES and BUILT_SOURCES in each makefile, add them all at once. Reviewed-by: Andrea Bolognani <abologna@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
2ffbdabb85
commit
73663a284e
@ -144,6 +144,9 @@ moddir = $(libdir)/libvirt/connection-driver
|
||||
confdir = $(sysconfdir)/libvirt
|
||||
conf_DATA += libvirt.conf libvirt-admin.conf
|
||||
|
||||
CLEANFILES += $(nodist_conf_DATA)
|
||||
BUILT_SOURCES += $(nodist_conf_DATA)
|
||||
|
||||
augeasdir = $(datadir)/augeas/lenses
|
||||
|
||||
augeastestdir = $(datadir)/augeas/lenses/tests
|
||||
|
@ -116,14 +116,10 @@ endif WITH_SASL
|
||||
if WITH_QEMU
|
||||
augeastest_DATA += locking/test_libvirt_lockd.aug
|
||||
nodist_conf_DATA += locking/qemu-lockd.conf
|
||||
BUILT_SOURCES += locking/qemu-lockd.conf
|
||||
DISTCLEANFILES += locking/qemu-lockd.conf
|
||||
endif WITH_QEMU
|
||||
|
||||
if WITH_LIBXL
|
||||
nodist_conf_DATA += locking/libxl-lockd.conf
|
||||
BUILT_SOURCES += locking/libxl-lockd.conf
|
||||
DISTCLEANFILES += locking/libxl-lockd.conf
|
||||
endif WITH_LIBXL
|
||||
|
||||
sbin_PROGRAMS += virtlockd
|
||||
@ -171,14 +167,10 @@ augeas_DATA += locking/libvirt_sanlock.aug
|
||||
if WITH_QEMU
|
||||
augeastest_DATA += locking/test_libvirt_sanlock.aug
|
||||
nodist_conf_DATA += locking/qemu-sanlock.conf
|
||||
BUILT_SOURCES += locking/qemu-sanlock.conf
|
||||
DISTCLEANFILES += locking/qemu-sanlock.conf
|
||||
endif WITH_QEMU
|
||||
|
||||
if WITH_LIBXL
|
||||
nodist_conf_DATA += locking/libxl-sanlock.conf
|
||||
BUILT_SOURCES += locking/libxl-sanlock.conf
|
||||
DISTCLEANFILES += locking/libxl-sanlock.conf
|
||||
endif WITH_LIBXL
|
||||
|
||||
libexec_PROGRAMS += libvirt_sanlock_helper
|
||||
|
Loading…
x
Reference in New Issue
Block a user