View | Details | Raw Unified | Return to bug 303919 | Differences between
and this patch

Collapse All | Expand All

 Lines 339-352 Lines 426-441 that can be passed to \t{dohtml} are as follows: that can be passed to \t{dohtml} are as follows: (-)a/pkg-mgr-commands.tex (-15 / +21 lines) 339 \end{algorithm} 339 \end{algorithm} 340 340 341 \item[doman] Installs a man page into the appropriate subdirectory of \t{/usr/share/man} depending 341 \item[doman] Installs a man page into the appropriate subdirectory of \t{/usr/share/man} depending 342  upon its apparent section suffix (e.g. \t{foo.1} goes to \t{/usr/share/man/man1/foo.1} with file 342  upon its apparent section suffix (e.\,g.\ \t{foo.1} goes to \t{/usr/share/man/man1/foo.1} with 343  mode \t{0644}. 343  file mode \t{0644}. 344 344 345  \featurelabel{doman-langs} In EAPIs listed in table~\ref{tab:doman-table} as supporting language 345  \featurelabel{doman-langs} In EAPIs listed in table~\ref{tab:doman-table} as supporting 346  codes, a man page with name of the form\t{foo.lang.1} shall go to 346  language codes, a man page with name of the form \t{foo.}\i{lang}\t{.1} shall go to 347  \t{/usr/share/man/lang/man1/foo.1}, where \t{lang} refers to a pair of lower-case ASCII letters 347  \t{/usr/share/man/}\i{lang}\t{/man1/foo.1}, where \i{lang} refers to a pair of lower-case 348  optionally followed by an underscore and a pair of upper-case ASCII letters. Failure behaviour 348  ASCII letters optionally followed by an underscore and a pair of upper-case ASCII letters. 349  is EAPI dependent as per section~\ref{sec:failure-behaviour}. 349  Failure behaviour is EAPI dependent as per section~\ref{sec:failure-behaviour}. 350 351  With option \t{-i18n=}\i{lang}, a man page shall be installed into an appropriate subdirectory 352  of \t{/usr/share/man/}\i{lang} (e.\,g.\ \t{/usr/share/man/}\i{lang}\t{/man1/foo.pl.1} would be 353  the destination for \t{foo.pl.1}). The \i{lang} subdirectory level is skipped if \i{lang} is 354  the empty string. In EAPIs specified by table~\ref{tab:doman-table}, the \t{-i18n} option takes 355  precedence over the language code in the filename. 350 356 351 \item[domo] Installs a \t{.mo} file with file mode \t{0644} into the appropriate subdirectory of 357 \item[domo] Installs a \t{.mo} file with file mode \t{0644} into the appropriate subdirectory of 352  \t{DESTTREE/share/locale}, generated by taking the basename of the file, removing the \t{.*} 358  \t{DESTTREE/share/locale}, generated by taking the basename of the file, removing the \t{.*} 426 \end{centertable} 432 \end{centertable} 427 433 428 \begin{centertable}{EAPIs supporting \t{doman} languages} \label{tab:doman-table} 434 \begin{centertable}{EAPIs supporting \t{doman} languages} \label{tab:doman-table} 429  \begin{tabular}{ l l } 435  \begin{tabular}{ l l l } 430  \toprule 436  \toprule 431  \multicolumn{1}{c}{\textbf{EAPI}} & 437  \multicolumn{1}{c}{\textbf{EAPI}} & 432  \multicolumn{1}{c}{\textbf{Supports \t{doman} languages?}} \\ 438  \multicolumn{1}{c}{\textbf{Supports \t{doman} languages?}} & 439  \multicolumn{1}{c}{\textbf{Option \t{-i18n} takes precedence?}} \\ 433  \midrule 440  \midrule 434  \t{0} & No \\ 441  \t{0} & No & Not applicable \\ 435  \t{1} & No \\ 442  \t{1} & No & Not applicable \\ 436  \t{2} & Yes \\ 443  \t{2} & Yes & No \\ 437  \t{3} & Yes \\ 444  \t{3} & Yes & No \\ 438  \t{4} & Yes \\ 445  \t{4} & Yes & Yes \\ 439  \bottomrule 446  \bottomrule 440  \end{tabular} 447  \end{tabular} 441 \end{centertable} 448 \end{centertable} 442 -