diff options
author | Richard Jones <rjones@redhat.com> | 2009-04-28 17:37:59 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-04-28 17:37:59 +0100 |
commit | 1957e9ed3402120f4868dcea04abb51ceb44df30 (patch) | |
tree | 7a8d26dbec90e0b99fad7e12a18d70d962d16745 /inspector | |
parent | fd99b96c973a1a60060b2585a9b74b360f4738c4 (diff) | |
download | libguestfs-1957e9ed3402120f4868dcea04abb51ceb44df30.tar.gz libguestfs-1957e9ed3402120f4868dcea04abb51ceb44df30.tar.xz libguestfs-1957e9ed3402120f4868dcea04abb51ceb44df30.zip |
Build virt-inspector HTML for the website.
Diffstat (limited to 'inspector')
-rw-r--r-- | inspector/Makefile.am | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/inspector/Makefile.am b/inspector/Makefile.am index 12eed1bc..394489ba 100644 --- a/inspector/Makefile.am +++ b/inspector/Makefile.am @@ -25,6 +25,8 @@ if HAVE_INSPECTOR man_MANS = virt-inspector.1 +noinst_DATA = ../html/virt-inspector.1.html + virt-inspector.1: virt-inspector.pl $(POD2MAN) \ --section 1 \ @@ -32,6 +34,14 @@ virt-inspector.1: virt-inspector.pl --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \ $< > $@ +../html/virt-inspector.1.html: virt-inspector.pl + cd .. && 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/$< + install-data-hook: mkdir -p $(DESTDIR)$(bindir) install -m 0755 virt-inspector.pl $(DESTDIR)$(bindir)/virt-inspector |