+ $< > $@-t && mv $@-t $@
+
+$(top_builddir)/html/virt-inspector.1.html: virt-inspector
+ mkdir -p $(top_builddir)/html
+ cd $(top_builddir) && pod2html \
+ --css 'pod.css' \
+ --title 'virt-inspector, display OS version, kernel, drivers, mount points, applications, etc. in a virtual machine' \
+ --htmldir html \
+ --outfile html/virt-inspector.1.html \
+ inspector/$<
+
+if HAVE_XMLLINT
+
+TESTS = example1.xml example2.xml example3.xml example4.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.