mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +03:00
daemon: move configuration files to src/remote
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
0f6260ada3
commit
168bcca95d
1
.gitignore
vendored
1
.gitignore
vendored
@ -61,7 +61,6 @@
|
||||
/conftest.*
|
||||
/daemon/libvirtd*.logrotate
|
||||
/daemon/libvirtd.policy
|
||||
/daemon/test_libvirtd.aug
|
||||
/docs/aclperms.htmlinc
|
||||
/docs/apibuild.py.stamp
|
||||
/docs/devhelp/libvirt.devhelp
|
||||
|
@ -20,35 +20,21 @@ CLEANFILES =
|
||||
|
||||
DISTCLEANFILES =
|
||||
EXTRA_DIST = \
|
||||
libvirtd.conf \
|
||||
libvirtd.policy.in \
|
||||
libvirt.rules \
|
||||
libvirtd.sasl \
|
||||
libvirtd.sysctl \
|
||||
libvirtd.aug \
|
||||
libvirtd.logrotate.in \
|
||||
libvirtd.qemu.logrotate.in \
|
||||
libvirtd.lxc.logrotate.in \
|
||||
libvirtd.libxl.logrotate.in \
|
||||
libvirtd.uml.logrotate.in \
|
||||
test_libvirtd.aug.in \
|
||||
$(NULL)
|
||||
|
||||
BUILT_SOURCES =
|
||||
|
||||
if WITH_LIBVIRTD
|
||||
|
||||
confdir = $(sysconfdir)/libvirt/
|
||||
conf_DATA = libvirtd.conf
|
||||
|
||||
augeasdir = $(datadir)/augeas/lenses
|
||||
augeas_DATA = libvirtd.aug
|
||||
|
||||
augeastestsdir = $(datadir)/augeas/lenses/tests
|
||||
augeastests_DATA = test_libvirtd.aug
|
||||
|
||||
CLEANFILES += test_libvirtd.aug
|
||||
|
||||
if WITH_POLKIT
|
||||
if WITH_POLKIT0
|
||||
policydir = $(datadir)/PolicyKit/policy
|
||||
@ -181,18 +167,6 @@ install-sysctl:
|
||||
uninstall-sysctl:
|
||||
endif ! WITH_SYSCTL
|
||||
|
||||
check-local: check-augeas
|
||||
|
||||
AUG_GENTEST = $(PERL) $(top_srcdir)/build-aux/augeas-gentest.pl
|
||||
|
||||
test_libvirtd.aug: test_libvirtd.aug.in $(srcdir)/libvirtd.conf
|
||||
$(AM_V_GEN)$(AUG_GENTEST) $(srcdir)/libvirtd.conf $< $@
|
||||
|
||||
check-augeas: test_libvirtd.aug
|
||||
$(AM_V_GEN)if test -x '$(AUGPARSE)'; then \
|
||||
'$(AUGPARSE)' -I $(srcdir) test_libvirtd.aug; \
|
||||
fi
|
||||
|
||||
else ! WITH_LIBVIRTD
|
||||
install-data-local: install-data-sasl
|
||||
uninstall-local:: uninstall-data-sasl
|
||||
|
@ -1370,6 +1370,14 @@ sbin_PROGRAMS += libvirtd
|
||||
|
||||
BUILT_SOURCES += $(LIBVIRTD_GENERATED)
|
||||
|
||||
augeas_DATA += remote/libvirtd.aug
|
||||
|
||||
augeastest_DATA += test_libvirtd.aug
|
||||
|
||||
conf_DATA += remote/libvirtd.conf
|
||||
|
||||
CLEANFILES += tets_libvirtd.aug
|
||||
|
||||
libvirtd_SOURCES = $(LIBVIRTD_SOURCES)
|
||||
|
||||
libvirtd_CFLAGS = \
|
||||
@ -1411,6 +1419,11 @@ libvirtd_LDADD += \
|
||||
$(NULL)
|
||||
|
||||
endif WITH_LIBVIRTD
|
||||
EXTRA_DIST += \
|
||||
remote/test_libvirtd.aug.in \
|
||||
remote/libvirtd.aug \
|
||||
remote/libvirtd.conf \
|
||||
$(NULL)
|
||||
|
||||
%protocol.c: %protocol.x %protocol.h $(srcdir)/rpc/genprotocol.pl
|
||||
$(AM_V_GEN)$(PERL) -w $(srcdir)/rpc/genprotocol.pl $(RPCGEN) -c \
|
||||
@ -2149,11 +2162,12 @@ check-local: check-augeas
|
||||
check-augeas-lockd \
|
||||
check-augeas-libxl \
|
||||
check-augeas-bhyve \
|
||||
check-augeas-libvirtd \
|
||||
$(NULL)
|
||||
|
||||
check-augeas: check-augeas-qemu check-augeas-lxc check-augeas-sanlock \
|
||||
check-augeas-lockd check-augeas-virtlockd check-augeas-libxl \
|
||||
check-augeas-bhyve check-augeas-virtlogd
|
||||
check-augeas-bhyve check-augeas-virtlogd check-augeas-libvirtd
|
||||
|
||||
AUG_GENTEST = $(PERL) $(top_srcdir)/build-aux/augeas-gentest.pl
|
||||
EXTRA_DIST += $(top_srcdir)/build-aux/augeas-gentest.pl
|
||||
@ -2258,6 +2272,18 @@ check-augeas-virtlogd: test_virtlogd.aug
|
||||
'$(AUGPARSE)' -I $(srcdir)/logging test_virtlogd.aug; \
|
||||
fi
|
||||
|
||||
if WITH_LIBVIRTD
|
||||
test_libvirtd.aug: remote/test_libvirtd.aug.in \
|
||||
remote/libvirtd.conf $(AUG_GENTEST)
|
||||
$(AM_V_GEN)$(AUG_GENTEST) remote/libvirtd.conf $< $@
|
||||
|
||||
check-augeas-libvirtd: test_libvirtd.aug
|
||||
$(AM_V_GEN)if test -x '$(AUGPARSE)'; then \
|
||||
'$(AUGPARSE)' -I $(srcdir)/remote test_libvirtd.aug; \
|
||||
fi
|
||||
else ! WITH_LIBVIRTD
|
||||
check-augeas-libvirtd:
|
||||
endif ! WITH_LIBVIRTD
|
||||
#
|
||||
# Build our version script. This is composed of three parts:
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user