X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=inspector%2FMakefile.am;h=6b937d3a7e6c2b0555cb957913b1d7ae961031a7;hp=dadbeee9238c6ff2f00540e6e60385cc26fa78a7;hb=994ae6e35650e1eeefe63e3871f55efc41c4f5bb;hpb=2e2eb15df010bbcc605c86b0714ad1ca796fc96d diff --git a/inspector/Makefile.am b/inspector/Makefile.am index dadbeee..6b937d3 100644 --- a/inspector/Makefile.am +++ b/inspector/Makefile.am @@ -17,13 +17,18 @@ 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 @@ -51,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 $< $@