- Document new manpage variables
This commit is contained in:
parent
4c56b067d1
commit
08a7f66d18
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=29479
1 changed files with 15 additions and 0 deletions
|
|
@ -3639,6 +3639,21 @@ ${PREFIX}/man/ja/man4/baz.4.gz</programlisting>
|
||||||
symlink will be made to join the foo(1) manpage and
|
symlink will be made to join the foo(1) manpage and
|
||||||
alt-name(8) manpage.</para>
|
alt-name(8) manpage.</para>
|
||||||
|
|
||||||
|
<para>If only some manpages are translated, you can use several variables
|
||||||
|
dynamically created from <makevar>MANLANG</makevar> content:</para>
|
||||||
|
|
||||||
|
<programlisting>MANLANG= "" de ja
|
||||||
|
MAN1= foo.1
|
||||||
|
MAN1_EN= bar.1
|
||||||
|
MAN3_DE= baz.3</programlisting>
|
||||||
|
|
||||||
|
<para>This translates into this list of files:</para>
|
||||||
|
|
||||||
|
<programlisting>${PREFIX}/man/man1/foo.1.gz
|
||||||
|
${PREFIX}/man/de/man1/foo.1.gz
|
||||||
|
${PREFIX}/man/ja/man1/foo.1.gz
|
||||||
|
${PREFIX}/man/man1/bar.1.gz
|
||||||
|
${PREFIX}/man/de/man3/baz.3.gz</programlisting>
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
<sect1 id="makefile-info">
|
<sect1 id="makefile-info">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue