-noinst_DATA = @top_builddir@/html/virt-df.1.html
-
-virt-df.1: virt-df.pl
- $(POD2MAN) \
- --section 1 \
- -c "Virtualization Support" \
- --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
- $< > $@
-
-@top_builddir@/html/virt-df.1.html: virt-df.pl
- mkdir -p @top_builddir@/html
- cd @top_builddir@ && pod2html \
- --css 'pod.css' \
- --title 'virt-df, display free space on virtual filesystems' \
- --htmldir html \
- --outfile html/virt-df.1.html \
- df/$<
-
-install-data-hook:
- mkdir -p $(DESTDIR)$(bindir)
- install -m 0755 virt-df.pl $(DESTDIR)$(bindir)/virt-df
-
-endif