summaryrefslogtreecommitdiff
path: root/doc/fr
diff options
context:
space:
mode:
authorDaniel Burrows <dburrows@debian.org>2008-03-12 08:07:38 -0700
committerDaniel Burrows <dburrows@debian.org>2008-03-12 08:07:38 -0700
commita267f4f1677bc564a589b865aa16d4f41abd1276 (patch)
tree2655e88e612664ef2ddb95493b3ed23fcf872340 /doc/fr
parent51aa24a848dbb375b4cfe69ccb41f141af8b0a91 (diff)
downloadaptitude-a267f4f1677bc564a589b865aa16d4f41abd1276.tar.gz
Force the documentation to compile by dropping the percent-translated levels to absurdly low values. (Closes: #470054)
Diffstat (limited to 'doc/fr')
-rw-r--r--doc/fr/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/fr/Makefile.am b/doc/fr/Makefile.am
index eedeff51..39414915 100644
--- a/doc/fr/Makefile.am
+++ b/doc/fr/Makefile.am
@@ -5,6 +5,9 @@ SUBDIRS=images
EXTRA_DIST=fixman
LANGCODE=fr
MANPAGE=aptitude.$(LANGCODE).8
+# How much of the manual is actually translated.
+PERCENT_TRANSLATED=50
+MANPAGE_PERCENT_TRANSLATED=60
IMAGES = $(wildcard images/*.png)
@@ -41,10 +44,10 @@ doc-stamp: doc-html-stamp doc-css-stamp $(README) $(MANPAGE)
touch doc-stamp
aptitude.xml: $(srcdir)/../en/aptitude.xml $(srcdir)/../po4a/po/$(LANGCODE).po $(srcdir)/../po4a/add_$(LANGCODE)/addendum.1.$(LANGCODE)
- po4a-translate -M utf-8 -f docbook -m $(srcdir)/../en/aptitude.xml -p $(srcdir)/../po4a/po/$(LANGCODE).po -l aptitude.xml
+ po4a-translate -k $(PERCENT_TRANSLATED) -M utf-8 -f docbook -m $(srcdir)/../en/aptitude.xml -p $(srcdir)/../po4a/po/$(LANGCODE).po -l aptitude.xml
manpage.xml: $(srcdir)/../en/manpage.xml $(srcdir)/../po4a/po/$(LANGCODE).po $(srcdir)/../po4a/add_$(LANGCODE)/addendum.1.$(LANGCODE)
- po4a-translate -k 60 -M utf-8 -f docbook -m $(srcdir)/../en/manpage.xml -p $(srcdir)/../po4a/po/$(LANGCODE).po -l manpage.xml
+ po4a-translate -k $(MANPAGE_PERCENT_TRANSLATED) -M utf-8 -f docbook -m $(srcdir)/../en/manpage.xml -p $(srcdir)/../po4a/po/$(LANGCODE).po -l manpage.xml
$(MANPAGE): aptitude.xml manpage.xml $(srcdir)/../aptitude-man.xsl
-rm -fr output-man