mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
nwfilter: move standard XML configs out of examples dir
The nwfilter XML configs are not merely examples, they are data that is actively shipped and used in production by users. Reviewed-by: Erik Skultety <eskultet@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
f2895302ab
commit
b81e44d6ac
@ -16,8 +16,6 @@
|
|||||||
## License along with this library. If not, see
|
## License along with this library. If not, see
|
||||||
## <http://www.gnu.org/licenses/>.
|
## <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
FILTERS = $(wildcard $(srcdir)/xml/nwfilter/*.xml)
|
|
||||||
|
|
||||||
ADMIN_EXAMPLES = \
|
ADMIN_EXAMPLES = \
|
||||||
$(wildcard $(srcdir)/c/admin/*.c) \
|
$(wildcard $(srcdir)/c/admin/*.c) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
@ -56,7 +54,6 @@ EXTRA_DIST = \
|
|||||||
$(STORAGE_XML_EXAMPLES) \
|
$(STORAGE_XML_EXAMPLES) \
|
||||||
$(SYSTEMTAP_EXAMPLES) \
|
$(SYSTEMTAP_EXAMPLES) \
|
||||||
$(TEST_XML_EXAMPLES) \
|
$(TEST_XML_EXAMPLES) \
|
||||||
$(FILTERS) \
|
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
AM_CPPFLAGS = \
|
AM_CPPFLAGS = \
|
||||||
@ -111,13 +108,6 @@ c_misc_event_test_SOURCES = c/misc/event-test.c
|
|||||||
c_misc_hellolibvirt_SOURCES = c/misc/hellolibvirt.c
|
c_misc_hellolibvirt_SOURCES = c/misc/hellolibvirt.c
|
||||||
c_misc_openauth_SOURCES = c/misc/openauth.c
|
c_misc_openauth_SOURCES = c/misc/openauth.c
|
||||||
|
|
||||||
if WITH_NWFILTER
|
|
||||||
|
|
||||||
nwfilterdir = $(sysconfdir)/libvirt/nwfilter
|
|
||||||
nwfilter_DATA = $(FILTERS)
|
|
||||||
|
|
||||||
endif WITH_NWFILTER
|
|
||||||
|
|
||||||
examplesdir = $(docdir)/examples
|
examplesdir = $(docdir)/examples
|
||||||
|
|
||||||
adminexamplesdir = $(examplesdir)/c/admin
|
adminexamplesdir = $(examplesdir)/c/admin
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
# vim: filetype=automake
|
# vim: filetype=automake
|
||||||
|
|
||||||
|
NWFILTER_XML_FILES = $(wildcard $(srcdir)/nwfilter/xml/*.xml)
|
||||||
|
|
||||||
|
EXTRA_DIST += $(NWFILTER_XML_FILES)
|
||||||
|
|
||||||
NWFILTER_DRIVER_SOURCES = \
|
NWFILTER_DRIVER_SOURCES = \
|
||||||
nwfilter/nwfilter_driver.h \
|
nwfilter/nwfilter_driver.h \
|
||||||
nwfilter/nwfilter_driver.c \
|
nwfilter/nwfilter_driver.c \
|
||||||
@ -19,6 +23,10 @@ STATEFUL_DRIVER_SOURCE_FILES += $(NWFILTER_DRIVER_SOURCES)
|
|||||||
EXTRA_DIST += $(NWFILTER_DRIVER_SOURCES)
|
EXTRA_DIST += $(NWFILTER_DRIVER_SOURCES)
|
||||||
|
|
||||||
if WITH_NWFILTER
|
if WITH_NWFILTER
|
||||||
|
|
||||||
|
nwfilterxmldir = $(sysconfdir)/libvirt/nwfilter
|
||||||
|
nwfilterxml_DATA = $(NWFILTER_XML_FILES)
|
||||||
|
|
||||||
noinst_LTLIBRARIES += libvirt_driver_nwfilter_impl.la
|
noinst_LTLIBRARIES += libvirt_driver_nwfilter_impl.la
|
||||||
libvirt_driver_nwfilter_la_SOURCES =
|
libvirt_driver_nwfilter_la_SOURCES =
|
||||||
libvirt_driver_nwfilter_la_LIBADD = libvirt_driver_nwfilter_impl.la
|
libvirt_driver_nwfilter_la_LIBADD = libvirt_driver_nwfilter_impl.la
|
||||||
|
@ -231,7 +231,7 @@ mymain(void)
|
|||||||
"networkxml2xmlout", "networkxml2confdata");
|
"networkxml2xmlout", "networkxml2confdata");
|
||||||
DO_TEST_DIR("networkport.rng", "virnetworkportxml2xmldata");
|
DO_TEST_DIR("networkport.rng", "virnetworkportxml2xmldata");
|
||||||
DO_TEST_DIR("nodedev.rng", "nodedevschemadata");
|
DO_TEST_DIR("nodedev.rng", "nodedevschemadata");
|
||||||
DO_TEST_DIR("nwfilter.rng", "nwfilterxml2xmlout", "../examples/xml/nwfilter");
|
DO_TEST_DIR("nwfilter.rng", "nwfilterxml2xmlout", "../src/nwfilter");
|
||||||
DO_TEST_DIR("nwfilterbinding.rng", "virnwfilterbindingxml2xmldata");
|
DO_TEST_DIR("nwfilterbinding.rng", "virnwfilterbindingxml2xmldata");
|
||||||
DO_TEST_DIR("secret.rng", "secretxml2xmlin");
|
DO_TEST_DIR("secret.rng", "secretxml2xmlin");
|
||||||
DO_TEST_DIR("storagepoolcaps.rng", "storagepoolcapsschemadata");
|
DO_TEST_DIR("storagepoolcaps.rng", "storagepoolcapsschemadata");
|
||||||
|
Loading…
Reference in New Issue
Block a user