提交 168bcca9 编写于 作者: D Daniel P. Berrangé

daemon: move configuration files to src/remote

Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
上级 0f6260ad
...@@ -61,7 +61,6 @@ ...@@ -61,7 +61,6 @@
/conftest.* /conftest.*
/daemon/libvirtd*.logrotate /daemon/libvirtd*.logrotate
/daemon/libvirtd.policy /daemon/libvirtd.policy
/daemon/test_libvirtd.aug
/docs/aclperms.htmlinc /docs/aclperms.htmlinc
/docs/apibuild.py.stamp /docs/apibuild.py.stamp
/docs/devhelp/libvirt.devhelp /docs/devhelp/libvirt.devhelp
......
...@@ -20,35 +20,21 @@ CLEANFILES = ...@@ -20,35 +20,21 @@ CLEANFILES =
DISTCLEANFILES = DISTCLEANFILES =
EXTRA_DIST = \ EXTRA_DIST = \
libvirtd.conf \
libvirtd.policy.in \ libvirtd.policy.in \
libvirt.rules \ libvirt.rules \
libvirtd.sasl \ libvirtd.sasl \
libvirtd.sysctl \ libvirtd.sysctl \
libvirtd.aug \
libvirtd.logrotate.in \ libvirtd.logrotate.in \
libvirtd.qemu.logrotate.in \ libvirtd.qemu.logrotate.in \
libvirtd.lxc.logrotate.in \ libvirtd.lxc.logrotate.in \
libvirtd.libxl.logrotate.in \ libvirtd.libxl.logrotate.in \
libvirtd.uml.logrotate.in \ libvirtd.uml.logrotate.in \
test_libvirtd.aug.in \
$(NULL) $(NULL)
BUILT_SOURCES = BUILT_SOURCES =
if WITH_LIBVIRTD 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_POLKIT
if WITH_POLKIT0 if WITH_POLKIT0
policydir = $(datadir)/PolicyKit/policy policydir = $(datadir)/PolicyKit/policy
...@@ -181,18 +167,6 @@ install-sysctl: ...@@ -181,18 +167,6 @@ install-sysctl:
uninstall-sysctl: uninstall-sysctl:
endif ! WITH_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 else ! WITH_LIBVIRTD
install-data-local: install-data-sasl install-data-local: install-data-sasl
uninstall-local:: uninstall-data-sasl uninstall-local:: uninstall-data-sasl
......
...@@ -1370,6 +1370,14 @@ sbin_PROGRAMS += libvirtd ...@@ -1370,6 +1370,14 @@ sbin_PROGRAMS += libvirtd
BUILT_SOURCES += $(LIBVIRTD_GENERATED) 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_SOURCES = $(LIBVIRTD_SOURCES)
libvirtd_CFLAGS = \ libvirtd_CFLAGS = \
...@@ -1411,6 +1419,11 @@ libvirtd_LDADD += \ ...@@ -1411,6 +1419,11 @@ libvirtd_LDADD += \
$(NULL) $(NULL)
endif WITH_LIBVIRTD 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 %protocol.c: %protocol.x %protocol.h $(srcdir)/rpc/genprotocol.pl
$(AM_V_GEN)$(PERL) -w $(srcdir)/rpc/genprotocol.pl $(RPCGEN) -c \ $(AM_V_GEN)$(PERL) -w $(srcdir)/rpc/genprotocol.pl $(RPCGEN) -c \
...@@ -2149,11 +2162,12 @@ check-local: check-augeas ...@@ -2149,11 +2162,12 @@ check-local: check-augeas
check-augeas-lockd \ check-augeas-lockd \
check-augeas-libxl \ check-augeas-libxl \
check-augeas-bhyve \ check-augeas-bhyve \
check-augeas-libvirtd \
$(NULL) $(NULL)
check-augeas: check-augeas-qemu check-augeas-lxc check-augeas-sanlock \ check-augeas: check-augeas-qemu check-augeas-lxc check-augeas-sanlock \
check-augeas-lockd check-augeas-virtlockd check-augeas-libxl \ 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 AUG_GENTEST = $(PERL) $(top_srcdir)/build-aux/augeas-gentest.pl
EXTRA_DIST += $(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 ...@@ -2258,6 +2272,18 @@ check-augeas-virtlogd: test_virtlogd.aug
'$(AUGPARSE)' -I $(srcdir)/logging test_virtlogd.aug; \ '$(AUGPARSE)' -I $(srcdir)/logging test_virtlogd.aug; \
fi 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: # Build our version script. This is composed of three parts:
# #
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册