include $(top_srcdir)/subdir-rules.mk
+EXAMPLE_XML = \
+ example1.xml example2.xml example3.xml \
+ example4.xml example5.xml example6.xml
+
EXTRA_DIST = \
run-inspector-locally \
virt-inspector
+docdir = @docdir@
dist_doc_DATA = \
virt-inspector.rng \
- example1.xml example2.xml example3.xml example4.xml
+ $(EXAMPLE_XML)
if HAVE_INSPECTOR
if HAVE_XMLLINT
-TESTS = example1.xml example2.xml example3.xml example4.xml
+TESTS = $(EXAMPLE_XML)
TESTS_ENVIRONMENT = $(XMLLINT) --noout --relaxng virt-inspector.rng
endif
endif
+
+# Make symlink from virt-inspector.pl to virt-inspector. This is just
+# to keep xgettext happy since it uses the file extension to determine
+# the implementation language of a file.
+
+all-local: virt-inspector.pl
+
+virt-inspector.pl: virt-inspector
+ ln -sf $< $@