summaryrefslogtreecommitdiff
path: root/doc/makefile
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2013-01-09 08:24:42 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2013-01-09 08:24:42 +0100
commit34c2a164242d06b206abfde18e28990908aa9c58 (patch)
tree7bc74e919714f69acc23d26acddc7e6048b67f2e /doc/makefile
parent11c1180e67f19b9c0ef14a10c4062e35f8afd1ef (diff)
fix missing translated apt.8 manpages, thanks to Helge Kreutzmann
for the report. Closes: #696923
Diffstat (limited to 'doc/makefile')
-rw-r--r--doc/makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/makefile b/doc/makefile
index 8021bce3f..be8357d80 100644
--- a/doc/makefile
+++ b/doc/makefile
@@ -87,7 +87,9 @@ update-po:
--msgid-bugs-address='$(PACKAGE_MAIL)' po4a.conf
$(MANPAGEPOLIST) :: manpages-translation-% : %/makefile po4a.conf
+ # first line is for apt.8 (see Bug#696923)
po4a --previous --no-backups --translate-only $(dir $<)apt.ent \
+ $(patsubst %,--translate-only $(dir $<)%,$(patsubst %.8,%.$(subst /,,$(dir $<)).8,$(wildcard *.8))) \
$(patsubst %,--translate-only $(dir $<)%,$(patsubst %.1.xml,%.$(subst /,,$(dir $<)).1.xml,$(wildcard *.1.xml))) \
$(patsubst %,--translate-only $(dir $<)%,$(patsubst %.2.xml,%.$(subst /,,$(dir $<)).2.xml,$(wildcard *.2.xml))) \
$(patsubst %,--translate-only $(dir $<)%,$(patsubst %.3.xml,%.$(subst /,,$(dir $<)).3.xml,$(wildcard *.3.xml))) \