Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
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
|
|
Encoding issues are now taken care of by html-to-text.
No longer are there "ASCII" hacks in stylesheets and
such.
Some READMEs were available but not installed. Even
though some of these are older translations they are
now all installed to the system.
* doc/aptitude-txt.xsl:
- removed ASCII hacks which did not work
* doc/fixup-text:
- removed this script, no longer needed
* doc/html-to-text:
- now takes mandatory output encoding argument
* explicitly set encodings
- README.en → ISO-8859-1
- README.{cs,es,fr,fi,it,ja} → UTF-8
* po/*.po:
- updated for these changes
- clear incorrect msgstr where the translator
had mistaken the purpose of "README"
|
|
Lots of code was duplicated between makefiles for the
various translations. Much of this is now in common
rules files making it easier to add new translations.
Translations that use po4a and provide full
documentation have been updated to use the new includes.
Some work is still required to make this compatible
with the non-po4a and partial translations.
* doc/common.mk:
- common rules for doc makefiles
* doc/po4a.mk:
- common rules for po4a makefiles
* doc/po4a/po4a.cfg:
- new po files are picked up automatically
- translate also safety-cost-level-diagram.svg
* doc/po4a/Makefile.am:
- update-po only updates the po files
* doc/po4a/po/Makefile.am:
- include aptitude.pot in dist files
* doc/{es,fr,it}/Makefile.am:
- use common rules
|
|
These never worked out as well as I intended, and all indications
were that they would be a maintenance burden...or just bitrot.
Fully parallel builds are nice, but my builds are pretty quick on
my 8-core box even with the artificial chokepoints that automake
induces.
|
|
|
|
This should resolve a lot of complaints from users about encoding
issues in the text manual.
|
|
|
|
|
|
correctly.
|
|
|