X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=cat%2FMakefile.am;h=10a768bf30604900c75ae7205903df3df443ebb5;hp=4dd7dfb8a0fa062d32b185cbc583e37bf3450102;hb=e1aca6323e33e0dd50e23dc0d638f5789c9188e4;hpb=fbc2555903be8c88ad9430d871cf0d27c8fded1e diff --git a/cat/Makefile.am b/cat/Makefile.am index 4dd7dfb..10a768b 100644 --- a/cat/Makefile.am +++ b/cat/Makefile.am @@ -28,6 +28,8 @@ EXTRA_DIST = \ test-virt-ls.sh \ virt-ls.pod +CLEANFILES = stamp-virt-cat.pod stamp-virt-ls.pod stamp-virt-filesystems.pod + bin_PROGRAMS = virt-cat virt-filesystems virt-ls SHARED_SOURCE_FILES = \ @@ -90,50 +92,32 @@ noinst_DATA = \ $(top_builddir)/html/virt-filesystems.1.html \ $(top_builddir)/html/virt-ls.1.html -virt-cat.1: virt-cat.pod - $(POD2MAN) \ - --section 1 \ - -c "Virtualization Support" \ - --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \ - $< > $@-t && mv $@-t $@ - -$(top_builddir)/html/virt-cat.1.html: virt-cat.pod - mkdir -p $(top_builddir)/html - cd $(top_builddir) && pod2html \ - --css 'pod.css' \ - --htmldir html \ - --outfile html/$@ \ - $(abs_srcdir)/$< - -virt-filesystems.1: virt-filesystems.pod - $(POD2MAN) \ - --section 1 \ - -c "Virtualization Support" \ - --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \ - $< > $@-t && mv $@-t $@ - -$(top_builddir)/html/virt-filesystems.1.html: virt-filesystems.pod - mkdir -p $(top_builddir)/html - cd $(top_builddir) && pod2html \ - --css 'pod.css' \ - --htmldir html \ - --outfile html/$@ \ - $(abs_srcdir)/$< - -virt-ls.1: virt-ls.pod - $(POD2MAN) \ - --section 1 \ - -c "Virtualization Support" \ - --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \ - $< > $@-t && mv $@-t $@ - -$(top_builddir)/html/virt-ls.1.html: virt-ls.pod - mkdir -p $(top_builddir)/html - cd $(top_builddir) && pod2html \ - --css 'pod.css' \ - --htmldir html \ - --outfile html/$@ \ - $(abs_srcdir)/$< +virt-cat.1 $(top_builddir)/html/virt-cat.1.html: stamp-virt-cat.pod + +stamp-virt-cat.pod: virt-cat.pod + $(top_srcdir)/podwrapper.sh \ + --man virt-cat.1 \ + --html $(top_builddir)/html/virt-cat.1.html \ + $< + touch $@ + +virt-ls.1 $(top_builddir)/html/virt-ls.1.html: stamp-virt-ls.pod + +stamp-virt-ls.pod: virt-ls.pod + $(top_srcdir)/podwrapper.sh \ + --man virt-ls.1 \ + --html $(top_builddir)/html/virt-ls.1.html \ + $< + touch $@ + +virt-filesystems.1 $(top_builddir)/html/virt-filesystems.1.html: stamp-virt-filesystems.pod + +stamp-virt-filesystems.pod: virt-filesystems.pod + $(top_srcdir)/podwrapper.sh \ + --man virt-filesystems.1 \ + --html $(top_builddir)/html/virt-filesystems.1.html \ + $< + touch $@ # Tests.