X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=inspector%2FMakefile.am;h=6b937d3a7e6c2b0555cb957913b1d7ae961031a7;hp=fc2bee369265433cfd2fec020f4dd329b59c32af;hb=9f5d2171b8ab6ddedbf1822f24d4da969457433c;hpb=665ddb18fafeea53dff508c7dfdd00536ccab52e diff --git a/inspector/Makefile.am b/inspector/Makefile.am index fc2bee3..6b937d3 100644 --- a/inspector/Makefile.am +++ b/inspector/Makefile.am @@ -17,6 +17,10 @@ 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 @@ -24,7 +28,7 @@ EXTRA_DIST = \ docdir = @docdir@ dist_doc_DATA = \ virt-inspector.rng \ - example1.xml example2.xml example3.xml example4.xml + $(EXAMPLE_XML) if HAVE_INSPECTOR @@ -52,9 +56,18 @@ $(top_builddir)/html/virt-inspector.1.html: virt-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 $< $@