diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2010-11-24 15:19:33 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2010-11-24 20:12:08 +0000 |
commit | e1aca6323e33e0dd50e23dc0d638f5789c9188e4 (patch) | |
tree | 2ae931f496aa992108d0f54bb82b8e24685918cc /fuse/Makefile.am | |
parent | c1592ac93886e7f39a6017272b2486d3f411d054 (diff) | |
download | libguestfs-e1aca6323e33e0dd50e23dc0d638f5789c9188e4.tar.gz libguestfs-e1aca6323e33e0dd50e23dc0d638f5789c9188e4.tar.xz libguestfs-e1aca6323e33e0dd50e23dc0d638f5789c9188e4.zip |
build: Centralize all POD manipulation in 'podwrapper.sh' script.
Diffstat (limited to 'fuse/Makefile.am')
-rw-r--r-- | fuse/Makefile.am | 29 |
1 files changed, 11 insertions, 18 deletions
diff --git a/fuse/Makefile.am b/fuse/Makefile.am index 5fe57bbf..692da6eb 100644 --- a/fuse/Makefile.am +++ b/fuse/Makefile.am @@ -19,6 +19,8 @@ include $(top_srcdir)/subdir-rules.mk EXTRA_DIST = guestmount.pod test-fuse.sh +CLEANFILES = stamp-guestmount.pod + if HAVE_FUSE bin_PROGRAMS = guestmount @@ -62,25 +64,16 @@ guestmount.static$(EXEEXT): $(guestmount_OBJECTS) $(guestmount_DEPENDENCIES) # Documentation. man_MANS = guestmount.1 +noinst_DATA = $(top_builddir)/html/guestmount.1.html + +guestmount.1 $(top_builddir)/html/guestmount.1.html: stamp-guestmount.pod -guestmount.1: guestmount.pod - $(POD2MAN) \ - --section 1 \ - -c "Virtualization Support" \ - --name "guestmount" \ - --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \ - $< > $@-t; mv $@-t $@ - -noinst_DATA = \ - $(top_builddir)/html/guestmount.1.html - -$(top_builddir)/html/guestmount.1.html: guestmount.pod - mkdir -p $(top_builddir)/html - cd $(top_builddir) && pod2html \ - --css 'pod.css' \ - --htmldir html \ - --outfile html/guestmount.1.html \ - fuse/guestmount.pod +stamp-guestmount.pod: guestmount.pod + $(top_srcdir)/podwrapper.sh \ + --man guestmount.1 \ + --html $(top_builddir)/html/guestmount.1.html \ + $< + touch $@ # Tests. |