summaryrefslogtreecommitdiffstats
path: root/po-docs/ja
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-09-02 22:25:47 +0100
committerRichard Jones <rjones@redhat.com>2010-09-04 13:37:58 +0100
commit8ad79a7c4de406579cf38d938edf44a8b659d03a (patch)
treec42e4c67c3f0eaa045e7087c0a6b2164a956a096 /po-docs/ja
parent8c48f5ae2ea5221f6c53934262c5505f4b20ca8c (diff)
downloadlibguestfs-8ad79a7c4de406579cf38d938edf44a8b659d03a.tar.gz
libguestfs-8ad79a7c4de406579cf38d938edf44a8b659d03a.tar.xz
libguestfs-8ad79a7c4de406579cf38d938edf44a8b659d03a.zip
Add full docs pot file.
Diffstat (limited to 'po-docs/ja')
-rw-r--r--po-docs/ja/Makefile.am16
1 files changed, 14 insertions, 2 deletions
diff --git a/po-docs/ja/Makefile.am b/po-docs/ja/Makefile.am
index e088ebbe..f5654101 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,10 +30,21 @@ 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 \
+ guestmount.pod \
+ libguestfs-test-tool.pod \
+ $(wildcard virt-*.pl)
all-local: $(MANPAGES)
+if HAVE_PO4A
+
guestfs.3: guestfs.pod guestfs-actions.pod guestfs-availability.pod guestfs-structs.pod
sed \
-e '/@ACTIONS@/rguestfs-actions.pod' \
@@ -84,6 +94,8 @@ virt-%.1: virt-%.pl
--release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
$< > $@-t && mv $@-t $@
+endif
+
# XXX Can automake do this properly?
install-data-hook:
$(MKDIR_P) $(DESTDIR)$(mandir)/$(LINGUA)/man1