X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=po-docs%2Fja%2FMakefile.am;h=008228802108e13cc72a7011389f255827d74689;hb=f6d3d5677194ae7aaea70d43845341d91907b5ee;hp=e088ebbe7f53b698e4e163b22ea842483cdeaed8;hpb=8c48f5ae2ea5221f6c53934262c5505f4b20ca8c;p=libguestfs.git diff --git a/po-docs/ja/Makefile.am b/po-docs/ja/Makefile.am index e088ebb..0082288 100644 --- a/po-docs/ja/Makefile.am +++ b/po-docs/ja/Makefile.am @@ -23,7 +23,6 @@ LINGUA = $(shell basename -- `pwd`) CLEANFILES = *.1 *.3 -# Ship the final translated manpages in the tarball. MANPAGES = \ guestfs.3 \ guestfish.1 \ @@ -31,7 +30,18 @@ MANPAGES = \ guestmount.1 \ $(patsubst %.pl,%.1,$(wildcard virt-*.pl)) -EXTRA_DIST = $(MANPAGES) +# Ship the POD files and the translated manpages in the tarball. This +# just simplifies building from the tarball, at a small cost in extra +# size. +EXTRA_DIST = \ + $(MANPAGES) \ + guestfs.pod guestfs-actions.pod guestfs-availability.pod guestfs-structs.pod \ + guestfish.pod guestfish-actions.pod guestfish-commands.pod \ + guestmount.pod \ + libguestfs-test-tool.pod \ + $(wildcard virt-*.pl) + +if HAVE_PO4A all-local: $(MANPAGES) @@ -51,9 +61,10 @@ guestfs.3: guestfs.pod guestfs-actions.pod guestfs-availability.pod guestfs-stru --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \ > $@-t; mv $@-t $@ -guestfish.1: guestfish.pod guestfish-actions.pod +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 \ @@ -84,6 +95,12 @@ virt-%.1: virt-%.pl --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \ $< > $@-t && mv $@-t $@ +else + +all-local: + +endif + # XXX Can automake do this properly? install-data-hook: $(MKDIR_P) $(DESTDIR)$(mandir)/$(LINGUA)/man1