CVSROOT: /web/www Module name: www Changes by: Karl Berry <karl> 11/05/30 22:42:39
Modified files: software/help2man: help2man.html Log message: update from bod CVSWeb URLs: http://web.cvs.savannah.gnu.org/viewcvs/www/software/help2man/help2man.html?cvsroot=www&r1=1.6&r2=1.7 Patches: Index: help2man.html =================================================================== RCS file: /web/www/www/software/help2man/help2man.html,v retrieving revision 1.6 retrieving revision 1.7 diff -u -b -r1.6 -r1.7 --- help2man.html 29 May 2011 22:14:12 -0000 1.6 +++ help2man.html 30 May 2011 22:41:29 -0000 1.7 @@ -182,7 +182,7 @@ <p>Additional static text may be included in the generated manual page by using the ‘<samp><span class="samp">--include</span></samp>’ and ‘<samp><span class="samp">--opt-include</span></samp>’ options (see <a href="#Invoking-help2man">Invoking help2man</a>). While these files can be named anything, -for consistency we suggest to use the extension <code>.h3m</code> for +for consistency we suggest to use the extension <code>.h2m</code> for help2man include files. <p>The format for files included with these option is simple: @@ -261,12 +261,16 @@ <h3 class="chapter">Producing Native Language Manual Pages</h3> <p>Manual pages may be produced for any locale supported by both the -program and <samp><span class="command">help2man</span></samp><a rel="footnote" href="#fn-1" name="fnd-1"><sup>1</sup></a> with the ‘<samp><span class="samp">--locale</span></samp>’ (‘<samp><span class="samp">-L</span></samp>’) +program and <samp><span class="command">help2man</span></samp> with the ‘<samp><span class="samp">--locale</span></samp>’ (‘<samp><span class="samp">-L</span></samp>’) option. <pre class="example"> help2man -L fr_FR@euro -o cp.fr.1 cp </pre> - <h4 class="section">Changing the Location of Message Catalogs</h4> + <p>See <a href="http://translationproject.org/domain/help2man.html">http://translationproject.org/domain/help2man.html</a> for the +languages currently supported by <samp><span class="command">help2man</span></samp>, and +see <a href="#Reports">Reports</a> for how to submit other translations. + +<h4 class="section">Changing the Location of Message Catalogs</h4> <p>When creating localised manual pages from a program's build directory it is probable that the translations installed in the standard location @@ -285,7 +289,7 @@ LD_PRELOAD="/usr/lib/help2man/bindtextdomain.so" \ LOCALEDIR=tmp \ TEXTDOMAIN=<var>prog</var> \ - help2man -L fr_FR@euro -i <var>prog</var>.fr.h3m -o <var>prog</var>.fr.1 <var>prog</var> + help2man -L fr_FR@euro -i <var>prog</var>.fr.h2m -o <var>prog</var>.fr.1 <var>prog</var> rm -rf tmp </pre> <p>will cause <var>prog</var> to load the message catalog from ‘<samp><span class="samp">tmp</span></samp>’ @@ -443,15 +447,6 @@ </li></ul> </div> -<div class="footnote"> -<hr> -<a name="texinfo-footnotes-in-document"></a><h4>Footnotes</h4><p class="footnote"><small>[<a name="fn-1" href="#fnd-1">1</a>]</small> See -<a href="http://translationproject.org/domain/help2man.html">http://translationproject.org/domain/help2man.html</a> for the -languages currently supported by <samp><span class="command">help2man</span></samp>, and see <a href="#Reports">Reports</a> -for how to submit other translations.</p> - - <hr></div> - </div><!-- for id="content", starts in the include above --> <!--#include virtual="/server/footer.html" --> <div id="footer"> @@ -476,7 +471,7 @@ <p>Updated: <!-- timestamp start --> -$Date: 2011/05/29 22:14:12 $ +$Date: 2011/05/30 22:41:29 $ <!-- timestamp end --> </p> </div>