~ubuntu-branches/debian/stretch/aptitude/stretch

« back to all changes in this revision

Viewing changes to doc/es/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Daniel Hartwig
  • Date: 2012-06-04 10:10:12 UTC
  • mfrom: (4.1.13)
  • Revision ID: package-import@ubuntu.com-20120604101012-07cw1jmk1cppu81y
Tags: 0.6.8-1

* Fix build with g++ 4.7
  Thanks Adrian Lang for the patch (Closes: #672335)
* New binary packages:
  - aptitude-doc-it: Italian documentation (Closes: #674664)
  - aptitude-common: data files and translations
* debian/rules:
  - use dh (debhelper command sequencer)
* Require libapt-pkg 0.9.3 to avoid "Method http has died
  unexpectedly" (Closes: #669322)
* Removed preinst script, the one transition it handled is
  over ten years old.
* New upstream release.
  - Update to tasks support: task packages, multi-arch, syntax

    Task packages (introduced with tasksel 3.0) are
    meta-packages which define the dependencies of tasks.  The
    packages themselves have always worked but the 'tasks'
    grouping policy and '?task' search term did not support
    them.  This update corrects for this.

    As a result of this change to tasksel all Debian tasks now
    function exactly like meta-packages. (Closes: #382631)

    The syntax for installing tasks from the command line has
    been updated.  It now supports specifying an arch and
    requires the same syntax as apt-utils ('^' must be the last
    part of the name).  Examples:

      # aptitude install gnome-desktop^
      # aptitude install ssh-server^:armel

    This avoids ambiguity that may arise when a task and
    package have the same name.
  - Changelog downloading is restored
    (Closes: #669569, LP: #824708)
  - Exit with non-zero status when a package run is
    aborted. (Closes: #293008)
  - Restore candidate version on undo, keep
    (Closes: #529403)
  - Adjust default widths of localized columns:
    broken_count, downloadsize (Closes: #674045)
  - Update package views after 'Cancel pending actions'
    (Closes: #595753)
  - Fix minor errors in documentation. Thanks to Beatrice Torracca
    (Closes: #674675)
  - Fix groff warning in manpage (Closes: #675085)
  - Translation updates:
    + French (Closes: #673827, LP: #642840)
    + German (Closes: #672467, #668875)
    + Simplified Chinese

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# automake doesn't play nicely with DocBook :(
2
 
 
3
 
SUBDIRS=images
4
 
 
5
 
LANGCODE=es
6
 
MANPAGE=aptitude.$(LANGCODE).8
7
 
# How much of the manual should actually at least be translated.
8
 
PERCENT_TRANSLATED=0 # status: 0.75%
9
 
MANPAGE_PERCENT_TRANSLATED=0 # status: 31%
10
 
README=README.$(LANGCODE)
11
 
XMLSOURCES=aptitude.xml manpage.xml $(srcdir)/../aptitude-common.xsl
12
 
 
13
 
HTML2TEXT=$(srcdir)/../html-to-text
14
 
 
15
 
# Put documentation in /usr/share/doc/aptitude (by default)
16
 
docdir=$(datadir)/doc/$(PACKAGE)
17
 
localemandir=$(mandir)/$(LANGCODE)
18
 
htmldir=$(docdir)/html/$(LANGCODE)
19
 
 
20
 
IMAGES = $(wildcard $(srcdir)/images/*.png)
21
 
 
22
 
all-local: doc-stamp
23
 
 
24
 
clean-local:
25
 
        -rm -fr output-html/ output-txt/ output-man/
26
 
        -rm -f doc-stamp doc-css-stamp doc-html-stamp doc-txt-stamp doc-man-stamp
27
 
        -rm -fr $(MANPAGE) $(README) *.tmp
28
 
        -rm -fr aptitude.xml manpage.xml
29
 
 
30
 
install-data-hook:
31
 
        $(mkinstalldirs) $(DESTDIR)$(localemandir)/man8
32
 
        $(INSTALL_DATA) $(MANPAGE) $(DESTDIR)$(localemandir)/man8/aptitude.8
33
 
        $(mkinstalldirs) $(DESTDIR)$(htmldir)/images
34
 
        $(INSTALL_DATA) output-html/*.html output-html/*.css $(DESTDIR)$(htmldir)
35
 
        $(INSTALL_DATA) output-html/images/* $(DESTDIR)$(htmldir)/images
36
 
 
37
 
        $(INSTALL_DATA) README.$(LANGCODE) $(DESTDIR)$(pkgdatadir)/README.$(LANGCODE)
38
 
 
39
 
doc-stamp: doc-html-stamp doc-css-stamp $(README) $(MANPAGE)
40
 
        touch doc-stamp
41
 
 
42
 
aptitude.xml: $(srcdir)/../en/aptitude.xml $(srcdir)/../po4a/po/$(LANGCODE).po $(srcdir)/../po4a/add_$(LANGCODE)/addendum.1.$(LANGCODE)
43
 
        po4a-translate -k $(PERCENT_TRANSLATED) -M utf-8 -f docbook -m $(srcdir)/../en/aptitude.xml -p $(srcdir)/../po4a/po/$(LANGCODE).po -l aptitude.xml
44
 
 
45
 
manpage.xml: $(srcdir)/../en/manpage.xml $(srcdir)/../po4a/po/$(LANGCODE).po $(srcdir)/../po4a/add_$(LANGCODE)/addendum.1.$(LANGCODE)
46
 
        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
47
 
 
48
 
$(MANPAGE): $(XMLSOURCES) $(srcdir)/../aptitude-man.xsl
49
 
        -rm -fr output-man $(MANPAGE)
50
 
        xsltproc -o output-man/aptitude.8 $(srcdir)/../aptitude-man.xsl aptitude.xml
51
 
        mv output-man/aptitude.8 $(MANPAGE)
52
 
 
53
 
$(README): $(XMLSOURCES)  $(srcdir)/../aptitude-txt.xsl
54
 
        -rm -fr output-txt
55
 
        xsltproc -o output-txt/index.html $(srcdir)/../aptitude-txt.xsl aptitude.xml
56
 
        $(HTML2TEXT) output-txt/index.html > $(README)
57
 
 
58
 
doc-css-stamp: doc-html-stamp $(srcdir)/../aptitude.css
59
 
        rm -f output-html/aptitude.css
60
 
        cp $(srcdir)/../aptitude.css output-html/
61
 
        touch doc-css-stamp
62
 
 
63
 
doc-html-stamp: $(XMLSOURCES) $(srcdir)/../aptitude-html.xsl $(IMAGES)
64
 
        -rm -fr output-html/
65
 
 
66
 
        xsltproc -o output-html/ $(srcdir)/../aptitude-html.xsl aptitude.xml
67
 
 
68
 
        mkdir output-html/images/
69
 
        ln -f $(srcdir)/images/*.png output-html/images/
70
 
        set -e; for x in $(srcdir)/images/*.svg; do rsvg-convert -f png -o output-html/images/$$(basename $${x%.svg}.png) $$x; done
71
 
        for x in caution important note tip warning; do ln -s /usr/share/xml/docbook/stylesheet/nwalsh/images/$$x.png output-html/images/; done
72
 
        for x in home next prev up; do ln -s /usr/share/xml/docbook/stylesheet/nwalsh/images/$$x.gif output-html/images/; done
73
 
 
74
 
        touch doc-html-stamp
 
1
SUBDIRS = images
 
2
EXTRA_DIST =
 
3
 
 
4
LC = es
 
5
 
 
6
include $(top_srcdir)/buildlib/doc.mk
 
7
include $(top_srcdir)/buildlib/po4a.mk
 
8
 
 
9
README = README.es
 
10
README_encoding = utf-8
 
11
 
 
12
IMAGES := $(wildcard $(srcdir)/images/*.png) $(PO4A_IMAGES)
 
13
 
 
14
DOCBOOK_TARGETS = docbook-man docbook-html docbook-readme
 
15
 
 
16
include $(top_srcdir)/buildlib/docbook.mk
 
17
 
 
18
all-local: docbook-stamp
 
19
 
 
20
man_MANS = aptitude.8
 
21
notrans_man_MANS = aptitude-create-state-bundle.1 aptitude-run-state-bundle.1