Files
libguestfs/po-docs
Pino Toscano bd896d68c0 po-docs: split pot and po handling
With the Weblate adoption, we let it update the po files from the
catalog template. The po4a behaviour of extracting the template,
merging the existing translations, and creating the translated PODs at
once is problematic. Hence, split the extraction and the translated POD
generation in two.

Use po4a-gettextize to extract the catalog template only, not doing it
anymore automatically at each build. There is no more need for a
po4a.conf file.

Use po4a-translate to create translated PODs from the po files, keeping
the fixup of the generated files (to avoid spurious =encoding, etc).
Add a silent rule to hide the po4a-translate command lines by default.

These changes also allow us to get rid of the POD existance checks with
associated error message pointing to the update-po rule. Now each
translated POD file is generated because of make dependency, and it
depends only on its po file.

Signed-off-by: Pino Toscano <ptoscano@redhat.com>
2020-08-13 11:27:44 +02:00
..
2015-10-22 11:13:48 +02:00
2015-10-22 11:13:48 +02:00
2020-07-06 16:25:36 +01:00
2020-07-06 16:25:36 +01:00
2020-07-06 16:25:36 +01:00
2020-07-06 16:25:36 +01:00
2020-07-06 16:25:36 +01:00
2020-07-06 16:25:36 +01:00
2020-07-06 16:25:36 +01:00
2020-08-13 11:27:44 +02:00
2020-07-06 16:25:36 +01:00
2020-08-13 11:27:44 +02:00
2020-07-06 16:25:36 +01:00
2020-08-13 11:27:44 +02:00
2020-07-06 16:25:36 +01:00
2020-07-06 16:25:36 +01:00
2020-07-06 16:25:36 +01:00
2020-07-06 16:25:36 +01:00