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

Collapse All | Expand All

 Lines 343-353 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 (-7 / +14 lines) 343  mode \t{0644}. 343  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 language 346  codes, a man page with name of the form\t{foo.lang.1} shall go to 346  codes, a man page with name of the form \t{foo.lang.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/lang/man1/foo.1}, where \t{lang} refers to a pair of lower-case ASCII letters 348  optionally followed by an underscore and a pair of upper-case ASCII letters. Failure behaviour 348  optionally followed by an underscore and a pair of upper-case ASCII letters. Failure behaviour 349  is EAPI dependent as per section~\ref{sec:failure-behaviour}. 349  is EAPI dependent as per section~\ref{sec:failure-behaviour}. 350 350 351  With option \t{-i18n=lang}, a man page shall be installed into a subdirectory of 352  \t{/usr/share/man/lang} (e.g. \t{foo.pl.1} would go to \t{/usr/share/man/lang/man1/foo.pl.1}). 353  The \t{lang} subdirectory level is skipped if \t{lang} is the empty string. In EAPIs as decided 354  by table~\ref{tab:doman-table}, the \t{-i18n} option takes precedence over the language code in 355  the filename. 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{.*} 353  suffix, and appending \t{/LC\_MESSAGES}. The name of the installed files is the package name 359  suffix, and appending \t{/LC\_MESSAGES}. The name of the installed files is the package name 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}