~ubuntu-branches/ubuntu/lucid/aptitude/lucid-proposed

« back to all changes in this revision

Viewing changes to doc/fr/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2008-05-27 10:28:10 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20080527102810-pxc090mnjkr4xlek
Tags: 0.4.11.2-1ubuntu1
* Merge from debian unstable, remaining changes:
  - 03_branding.dpatch: ubuntu branding
  - 04_changelog.dpatch: take changelogs from changelogs.ubuntu.com
  - 07_hide_recommends_warning.dpatch: do not show a warning about
    missing recommends
  - 08_ubuntu_default_source.dpatch: do not clean lists directory
    on transient network failures
  - 11_gxx43.dpatch:build tests without -Werror
* Updated:
  - 03_branding.dpatch
* Disabled 07_hide_recommends warning because we do install 
  recommends now by default too

Show diffs side-by-side

added added

removed removed

Lines of Context:
158
158
# Put documentation in /usr/share/doc/aptitude (by default)
159
159
docdir = $(datadir)/doc/$(PACKAGE)
160
160
dvidir = @dvidir@
 
161
ept_CFLAGS = @ept_CFLAGS@
 
162
ept_LIBS = @ept_LIBS@
161
163
exec_prefix = @exec_prefix@
162
164
host = @host@
163
165
host_alias = @host_alias@
187
189
EXTRA_DIST = fixman
188
190
LANGCODE = fr
189
191
MANPAGE = aptitude.$(LANGCODE).8
 
192
# How much of the manual is actually translated.
 
193
PERCENT_TRANSLATED = 50
 
194
MANPAGE_PERCENT_TRANSLATED = 40
190
195
IMAGES = $(wildcard images/*.png)
191
196
localemandir = $(mandir)/$(LANGCODE)
192
197
 
193
 
# Automake automagically distributes README without asking..
 
198
# Automake automagically distributes README without asking
194
199
README = README.$(LANGCODE)
195
200
all: all-recursive
196
201
 
515
520
        touch doc-stamp
516
521
 
517
522
aptitude.xml: $(srcdir)/../en/aptitude.xml $(srcdir)/../po4a/po/$(LANGCODE).po $(srcdir)/../po4a/add_$(LANGCODE)/addendum.1.$(LANGCODE)
518
 
        po4a-translate -M utf-8 -f docbook -m $(srcdir)/../en/aptitude.xml -p $(srcdir)/../po4a/po/$(LANGCODE).po -l aptitude.xml
 
523
        po4a-translate -k $(PERCENT_TRANSLATED) -M utf-8 -f docbook -m $(srcdir)/../en/aptitude.xml -p $(srcdir)/../po4a/po/$(LANGCODE).po -l aptitude.xml
519
524
 
520
525
manpage.xml: $(srcdir)/../en/manpage.xml $(srcdir)/../po4a/po/$(LANGCODE).po $(srcdir)/../po4a/add_$(LANGCODE)/addendum.1.$(LANGCODE)
521
 
        po4a-translate -M utf-8 -f docbook -m $(srcdir)/../en/manpage.xml -p $(srcdir)/../po4a/po/$(LANGCODE).po -l manpage.xml
 
526
        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
522
527
 
523
528
$(MANPAGE): aptitude.xml manpage.xml $(srcdir)/../aptitude-man.xsl
524
529
        -rm -fr output-man
525
 
        xsltproc -o output-man/aptitude.8 $(srcdir)/../aptitude-man.xsl $(srcdir)/aptitude.xml
 
530
        xsltproc -o output-man/aptitude.8 $(srcdir)/../aptitude-man.xsl aptitude.xml
526
531
        mv output-man/aptitude.8 $(MANPAGE)
527
532
        /bin/bash $(srcdir)/fixman
528
533
 
529
534
$(README): aptitude.xml manpage.xml $(srcdir)/../aptitude-txt.xsl $(srcdir)/../aptitude-common.xsl $(srcdir)/../aptitude-txt.style
530
535
        -rm -fr output-txt/
531
 
        xsltproc -o output-txt/index.html $(srcdir)/../aptitude-txt.xsl $(srcdir)/aptitude.xml
 
536
        xsltproc -o output-txt/index.html $(srcdir)/../aptitude-txt.xsl aptitude.xml
532
537
        html2text -width 80 -ascii -nobs -rcfile $(srcdir)/../aptitude-txt.style output-txt/index.html | sed 's/&#8212/--/g' > $(README)
533
538
 
534
539
doc-css-stamp: doc-html-stamp $(srcdir)/../aptitude.css
539
544
doc-html-stamp: aptitude.xml manpage.xml $(srcdir)/../aptitude-html.xsl $(srcdir)/../aptitude-common.xsl $(IMAGES)
540
545
        -rm -fr output-html/
541
546
 
542
 
        xsltproc -o output-html/ $(srcdir)/../aptitude-html.xsl $(srcdir)/aptitude.xml
 
547
        xsltproc -o output-html/ $(srcdir)/../aptitude-html.xsl aptitude.xml
543
548
 
544
549
        mkdir output-html/images/
545
550
        ln -f $(srcdir)/images/*.png output-html/images/