summaryrefslogtreecommitdiffstats
path: root/po-docs/ja
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-11-24 15:19:33 +0000
committerRichard W.M. Jones <rjones@redhat.com>2010-11-24 20:12:08 +0000
commite1aca6323e33e0dd50e23dc0d638f5789c9188e4 (patch)
tree2ae931f496aa992108d0f54bb82b8e24685918cc /po-docs/ja
parentc1592ac93886e7f39a6017272b2486d3f411d054 (diff)
downloadlibguestfs-e1aca6323e33e0dd50e23dc0d638f5789c9188e4.tar.gz
libguestfs-e1aca6323e33e0dd50e23dc0d638f5789c9188e4.tar.xz
libguestfs-e1aca6323e33e0dd50e23dc0d638f5789c9188e4.zip
build: Centralize all POD manipulation in 'podwrapper.sh' script.
Diffstat (limited to 'po-docs/ja')
-rw-r--r--po-docs/ja/Makefile.am59
1 files changed, 20 insertions, 39 deletions
diff --git a/po-docs/ja/Makefile.am b/po-docs/ja/Makefile.am
index 00822880..24eb24e9 100644
--- a/po-docs/ja/Makefile.am
+++ b/po-docs/ja/Makefile.am
@@ -46,54 +46,35 @@ if HAVE_PO4A
all-local: $(MANPAGES)
guestfs.3: guestfs.pod guestfs-actions.pod guestfs-availability.pod guestfs-structs.pod
- sed \
- -e '/@ACTIONS@/rguestfs-actions.pod' \
- -e 's/@ACTIONS@//' \
- -e '/@AVAILABILITY@/rguestfs-availability.pod' \
- -e 's/@AVAILABILITY@//' \
- -e '/@STRUCTS@/rguestfs-structs.pod' \
- -e 's/@STRUCTS@//' \
- < $< | \
- $(POD2MAN) -u \
+ $(top_srcdir)/podwrapper.sh \
--section 3 \
- -c "Virtualization Support" \
- --name "guestfs" \
- --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
- > $@-t; mv $@-t $@
+ --man $@ \
+ --insert guestfs-actions.pod:@ACTIONS@ \
+ --insert guestfs-availability.pod:@AVAILABILITY@ \
+ --insert guestfs-structs.pod:@STRUCTS@ \
+ $<
guestfish.1: guestfish.pod guestfish-actions.pod guestfish-commands.pod
- sed \
- -e '/@ACTIONS@/rguestfish-actions.pod' -e 's/@ACTIONS@//' \
- -e '/@FISH_COMMANDS@/rguestfish-commands.pod' -e 's/@FISH_COMMANDS@//' \
- < $< | \
- $(POD2MAN) -u \
- --section 1 \
- -c "Virtualization Support" \
- --name "guestfish" \
- --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
- > $@-t; mv $@-t $@
+ $(top_srcdir)/podwrapper.sh \
+ --man $@ \
+ --insert guestfish-actions.pod:@ACTIONS@ \
+ --insert guestfish-commands.pod:@FISH_COMMANDS@ \
+ $<
guestmount.1: guestmount.pod
- $(POD2MAN) -u \
- --section 1 \
- -c "Virtualization Support" \
- --name "guestmount" \
- --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
- $< > $@-t; mv $@-t $@
+ $(top_srcdir)/podwrapper.sh \
+ --man $@ \
+ $<
libguestfs-test-tool.1: libguestfs-test-tool.pod
- $(POD2MAN) -u \
- --section 1 \
- -c "Virtualization Support" \
- --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
- $< > $@-t; mv $@-t $@
+ $(top_srcdir)/podwrapper.sh \
+ --man $@ \
+ $<
virt-%.1: virt-%.pl
- $(POD2MAN) -u \
- --section 1 \
- -c "Virtualization Support" \
- --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
- $< > $@-t && mv $@-t $@
+ $(top_srcdir)/podwrapper.sh \
+ --man $@ \
+ $<
else