X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=po-docs%2Fja%2FMakefile.am;h=24eb24e92a09066d25ff9488b1f71bdd5949c908;hp=008228802108e13cc72a7011389f255827d74689;hb=e1aca6323e33e0dd50e23dc0d638f5789c9188e4;hpb=e5ec461c67820f050b049b41a630069f0efe96d1;ds=sidebyside diff --git a/po-docs/ja/Makefile.am b/po-docs/ja/Makefile.am index 0082288..24eb24e 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