diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2020-02-07 15:32:21 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2020-02-07 15:32:21 +0200 |
commit | 6f7211b6bb47a895b47f533282dba9ee9a1b0c8b (patch) | |
tree | 0a8513fe1abb9d87f9c7bc4e054a0c9aeaf44cdb /po4a/.gitignore | |
parent | Update THANKS. (diff) | |
download | xz-6f7211b6bb47a895b47f533282dba9ee9a1b0c8b.tar.xz |
Build: Add support for translated man pages using po4a.
The dependency on po4a is optional. It's never required to install
the translated man pages when xz is built from a release tarball.
If po4a is missing when building from xz.git, the translated man
pages won't be generated but otherwise the build will work normally.
The translations are only updated automatically by autogen.sh and
by "make mydist". This makes it easy to keep po4a as an optional
dependency and ensures that I won't forget to put updated
translations to a release tarball.
The translated man pages aren't installed if --disable-nls is used.
The installation of translated man pages abuses Automake internals
by calling "install-man" with redefined dist_man_MANS and man_MANS.
This makes the hairy script code slightly less hairy. If it breaks
some day, this code needs to be fixed; don't blame Automake developers.
Also, this adds more quotes to the existing shell script code in
the Makefile.am "-hook"s.
Diffstat (limited to 'po4a/.gitignore')
-rw-r--r-- | po4a/.gitignore | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/po4a/.gitignore b/po4a/.gitignore new file mode 100644 index 00000000..5bcfa04b --- /dev/null +++ b/po4a/.gitignore @@ -0,0 +1,2 @@ +/man +/xz-man.pot |