diff options
author | Daniel Hartwig <mandyke@gmail.com> | 2012-06-01 21:47:02 +0800 |
---|---|---|
committer | Daniel Hartwig <mandyke@gmail.com> | 2012-06-01 21:47:02 +0800 |
commit | e8350caacbcaef6efbba8a9dea32e2c25c5b5689 (patch) | |
tree | 1ebe510a19876fda031f962f4bae96712e139456 /doc/fr | |
parent | 1d9d2bd8d8dffaadf180800f5c13945aa16e0958 (diff) | |
download | aptitude-e8350caacbcaef6efbba8a9dea32e2c25c5b5689.tar.gz |
Update to the doc buildlib; all translations ported
All doc translations now use the new buildlib rule files
which is cleaner and much easier to maintain.
This involves many changes and a general cleanup. Some of
the more noticable changes:
* doc:
- html docs no longer install to $docdir/html, but respect
the htmldir option of configure (which defaults to $docdir)
- build is more parallel
* buildlib/doc.mk:
- Standard makefile rules for documentation
* buildlib/docbook.mk:
- Makefile rules for targets from docbook source
* buildlib/po4a.mk:
- Makefile rules for targets from po4a translations
* doc/Makefile.am, doc/??/Makefile.am:
- rename LANGCODE to LC
- update to use buildlib files; most of these files are now
very short
* configure.ac:
- suppress portability warnings as we require GNU make
- include bugreport address
- check for tools used to generate the documentation:
po4a, xsltproc, fop, rsvg-convert
Diffstat (limited to 'doc/fr')
-rw-r--r-- | doc/fr/Makefile.am | 22 | ||||
-rwxr-xr-x | doc/fr/fixman | 2 |
2 files changed, 14 insertions, 10 deletions
diff --git a/doc/fr/Makefile.am b/doc/fr/Makefile.am index b551b834..d628920b 100644 --- a/doc/fr/Makefile.am +++ b/doc/fr/Makefile.am @@ -1,14 +1,18 @@ -# automake doesn't play nicely with DocBook :( +SUBDIRS = images +EXTRA_DIST = fixman -include $(top_srcdir)/doc/common.mk -include $(top_srcdir)/doc/po4a.mk +LC = fr -SUBDIRS=images -EXTRA_DIST=fixman -LANGCODE=fr +include $(top_srcdir)/buildlib/doc.mk +include $(top_srcdir)/buildlib/po4a.mk -README_encoding=utf-8 +README = README.fr +README_encoding = utf-8 -XMLSOURCES=aptitude.xml manpage.xml +IMAGES := $(wildcard $(srcdir)/images/*.png) $(PO4A_IMAGES) -IMAGES=$(wildcard $(srcdir)/images/*.png) images/safety-cost-level-diagram.png +DOCBOOK_TARGETS = docbook-html docbook-man docbook-readme + +include $(top_srcdir)/buildlib/docbook.mk + +all-local: $(DOCBOOK_TARGETS) diff --git a/doc/fr/fixman b/doc/fr/fixman index 2c895f6a..2a17ba7b 100755 --- a/doc/fr/fixman +++ b/doc/fr/fixman @@ -2,7 +2,7 @@ # this file basically copied from fixquotes (German translation) # and fixman (Finnish translation) -MANPAGE=aptitude.fr.8 +MANPAGE="$1" # Guillement français pour la traduction des <quote>...</quote> sed -i "s/''/\\ »/g;"'s/``/«\\ /g' $MANPAGE |