summaryrefslogtreecommitdiffstats
path: root/podwrapper.pl.in
Commit message (Collapse)AuthorAgeFilesLines
* po-docs: Fix podwrapper so it works on translated POD files.Richard W.M. Jones2012-08-301-15/+28
| | | | | | | | | | These don't contain literal strings like "AUTHORS" (they have the translated versions instead) and so checking for these English strings is rather useless. Also we don't usually have the '--license' parameter conveniently around so don't enforce this section. (cherry picked from commit ddc67d94f37ca4e942cb385d4e5ec476766fef12)
* tools: Fix podwrapper errors in tools directory.Richard W.M. Jones2012-08-301-2/+2
| | | | | | | | This also makes the test for license "code" less strict, so it should only match POD, not Perl comments. This fixes commit 2f97bf873b64384835f257f8916bf1ebb2af62b4. (cherry picked from commit 23b7fe09e1589c3c9ca5f52a9588ad1c73649b14)
* podwrapper: Ignore $parser->html_charset if it fails (thanks Wulf C. Krueger).Richard W.M. Jones2012-08-301-1/+2
| | | | | | This method was added in Pod::Simple 3.16 so earlier versions of Perl won't have it. It's not the end of the world if we don't set it. (cherry picked from commit d555a68ca6475bbb6f7f60ae1bdcdffa99df351f)
* docs: Use man page name as default title in HTML output.Richard W.M. Jones2012-08-301-0/+5
| | | | (cherry picked from commit c638e1f03d2700560fe32c0889224ac29bd52334)
* podwrapper: Add --license parameter, which is required.Richard W.M. Jones2012-08-301-0/+121
| | | | | | | | | | | | This adds standard LICENSE and BUGS sections to all of the man pages that are processed by podwrapper. Modify all the calls to $(PODWRAPPER) to add the right --license parameter according to the content. Note that this relaxes the license on some code example pages, making them effectively BSD-style licensed. (cherry picked from commit 2f97bf873b64384835f257f8916bf1ebb2af62b4)
* podwrapper: Ensure the input file is printed in some error messages.Richard W.M. Jones2012-08-301-3/+3
| | | | (cherry picked from commit e89e180d2b1ee7c3a452a327a336dd3facd2a51f)
* podwrapper: Fix setting of GIT_DIR in git subcommand.Richard W.M. Jones2012-08-051-1/+2
| | | | | This fixes commit 1e17a32060feb937b3972f61b37f9116ad7d8d9a. (cherry picked from commit f514d462cda5395c8614577930ee69eebafc969d)
* podwrapper: Use UTF8 in output, send errors to stderr.Richard W.M. Jones2012-08-051-1/+2
| | | | | This fixes commit 1e17a32060feb937b3972f61b37f9116ad7d8d9a. (cherry picked from commit 8e75e21b23f18ec0b0fa4f07f96c31dd56a50f25)
* podwrapper: Subclass Pod::Man so we can fix the way links are generated.Richard W.M. Jones2012-08-051-5/+22
| | | | (cherry picked from commit 182b4a66609ffd5366575d72351cd8174cf68145)
* podwrapper: Define $VERSION in subclass.Richard W.M. Jones2012-08-051-1/+2
| | | | | | The superclass sometimes uses this and will give an undefined error if it's missing. (cherry picked from commit 9967ad3fa13178c70afd5da77f77a4115808733d)
* podwrapper: Tidy up the program name.Richard W.M. Jones2012-08-051-21/+26
| | | | | | | | Messages now look like this: podwrapper.pl: wrote guestfs-examples.3 podwrapper.pl: wrote ../html/guestfs-examples.3.html (cherry picked from commit 60c42dd2a1a173ec1161502762bc33ae7a1cf190)
* Replace podwrapper shell script with custom Perl script.Richard W.M. Jones2012-08-051-0/+374
This uses Pod::Simple so it properly parses the input POD and can generate proper custom output as required specifically by libguestfs. One immediate benefit is that links between and within manual pages now work mostly correctly. (cherry picked from commit 1e17a32060feb937b3972f61b37f9116ad7d8d9a)