416
by Aaron Honeycutt
copied file from git://anongit.kde.org/scratch/sitter/kubuntu-docs but updated the installer slides in the doc/en folder to 14.04 |
1 |
build
|
2 |
=====
|
|
3 |
||
4 |
- update export.cfg
|
|
5 |
- run ./export.sh
|
|
6 |
- if exports have failed, follow up why
|
|
7 |
||
8 |
upload
|
|
9 |
======
|
|
10 |
||
11 |
- dch -i to create a new changelog entry
|
|
12 |
- dpkg-buildpackage -S to build the source package
|
|
13 |
- dput to upload
|
|
14 |
||
15 |
export.sh
|
|
16 |
=========
|
|
17 |
||
18 |
This is a nice wrapper around upstream's wiki2docbook tool, handling mass |
|
19 |
export of pages, CMakeLists generation as well as basic sanity checking. |
|
20 |
||
21 |
The script takes care of: |
|
22 |
||
23 |
- getting the upstream tooling
|
|
24 |
- building a list of possible localized pages to export
|
|
25 |
- gets the wiki XML export
|
|
26 |
- converts the export to docbook using wiki2docbook
|
|
27 |
- checks validity of the docbook using meinproc4
|
|
28 |
- generates CMakeLists.txt accordingly
|
|
29 |
||
30 |
Translations that fail the meinproc4 sanity check will be discard as to |
|
31 |
not have useless stuff in the source package. |
|
32 |
||
33 |
misc
|
|
34 |
====
|
|
35 |
||
36 |
Please note that the actual export data is ignored by git and must be exported |
|
37 |
before doing an upload. This is to both ensure sanity of the git repo and |
|
38 |
making it less likely that one uploads outdated data by accident. |