summaryrefslogtreecommitdiffstats
path: root/podwrapper.pl.in
Commit message (Collapse)AuthorAgeFilesLines
* syntax: Use __PATTERNS__ instead of @PATTERNS@ in podwrapper man pages.Richard W.M. Jones2012-10-031-7/+7
| | | | | It is slightly dangerous to use @PATTERNS@, since these might be substituted by autoconf when they appear in Makefile.am files.
* po-docs: Fix podwrapper so it works on translated POD files.Richard W.M. Jones2012-08-281-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.
* tools: Fix podwrapper errors in tools directory.Richard W.M. Jones2012-08-281-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.
* podwrapper: Ignore $parser->html_charset if it fails (thanks Wulf C. Krueger).Richard W.M. Jones2012-08-281-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.
* docs: Use man page name as default title in HTML output.Richard W.M. Jones2012-08-211-0/+5
|
* podwrapper: Add --license parameter, which is required.Richard W.M. Jones2012-08-211-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.
* podwrapper: Ensure the input file is printed in some error messages.Richard W.M. Jones2012-08-211-3/+3
|
* podwrapper: Fix setting of GIT_DIR in git subcommand.Richard W.M. Jones2012-07-191-1/+2
| | | | This fixes commit 1e17a32060feb937b3972f61b37f9116ad7d8d9a.
* podwrapper: Use UTF8 in output, send errors to stderr.Richard W.M. Jones2012-07-171-1/+2
| | | | This fixes commit 1e17a32060feb937b3972f61b37f9116ad7d8d9a.
* podwrapper: Subclass Pod::Man so we can fix the way links are generated.Richard W.M. Jones2012-07-171-5/+22
|
* podwrapper: Define $VERSION in subclass.Richard W.M. Jones2012-07-171-1/+2
| | | | | The superclass sometimes uses this and will give an undefined error if it's missing.
* podwrapper: Tidy up the program name.Richard W.M. Jones2012-07-171-21/+26
| | | | | | | Messages now look like this: podwrapper.pl: wrote guestfs-examples.3 podwrapper.pl: wrote ../html/guestfs-examples.3.html
* Replace podwrapper shell script with custom Perl script.Richard W.M. Jones2012-07-161-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.