sh make-recipes.sh recipes/*.sh > $@-t
mv $@-t $@
-website: html/guestfs.3.html html/guestfish.1.html html/recipes.html
+website: html/guestfs.3.html html/guestfish.1.html \
+ html/virt-inspector.1.html \
+ html/recipes.html
cp $^ html/pod.css html/recipes.css \
$(HOME)/d/redhat/et-website/libguestfs/
man_MANS = virt-inspector.1
+noinst_DATA = ../html/virt-inspector.1.html
+
virt-inspector.1: virt-inspector.pl
$(POD2MAN) \
--section 1 \
--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