summaryrefslogtreecommitdiff
path: root/contrib/texi2pod.pl
Commit message (Collapse)AuthorAgeFilesLines
* texi2pod.pl: Merge changes from binutils' texi2pod.pl.Matthias Klose2001-12-141-10/+36
| | | | | | | | | | | | | | 2001-12-12 Matthias Klose <doko@debian.org> * texi2pod.pl: Merge changes from binutils' texi2pod.pl. Allows generation of more than one man page from one source. Add '-' to set of valid chars for an identifier. Let -D option accept flags of the form <flag>=<value>. Use \s+ for whitespace detection in '@c man' lines. Handle @set and @clear independent of $output. Substitute all @value{}'s in a line. From-SVN: r48015
* texi2pod.pl: Handle @ifnottex, @iftex and @display.Joseph Myers2001-11-141-8/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | contrib: * texi2pod.pl: Handle @ifnottex, @iftex and @display. Handle @var in verbatim blocks specially. Handle @unnumbered, @unnumberedsec and @center. Allow [a-z] after @enumerate. Handle 0 and numbers greater than 9 in enumerations. gcc: * Makefile.in (POD2MAN): Don't include --section=1. (manext): Rename to man1ext. All users changed. (man7ext): New. (man7dir): New. (generated-manpages): Also depend on $(docdir)/gfdl.7, $(docdir)/gpl.7, and $(docdir)/fsf-funding.7. ($(docdir)/gcov.1, $(docdir)/cpp.1, $(docdir)/gcc.1): Include --section=1 in calls to $(POD2MAN). ($(docdir)/gfdl.7, $(docdir)/gpl.7, $(docdir)/fsf-funding.7): New. (maintainer-clean, install, uninstall): Handle the new man pages. ($(docdir)/cpp.info, cpp.dvi): Depend on fdl.texi. (installdirs): Create man7dir. * doc/cpp.texi: Include GFDL in this manual. In the man page, refer to gfdl(7) for the GFDL. Apply Front Cover and Back Cover texts to man page. Include gpl(7), gfdl(7) and fsf-funding(7) in the SEE ALSO man page section. * doc/gcov.texi: Apply GFDL to man page. Include gpl(7), gfdl(7) and fsf-funding(7) in the SEE ALSO man page section. * doc/invoke.texi: Apply GFDL to man page. Include gpl(7), gfdl(7) and fsf-funding(7) in the SEE ALSO man page section. * doc/include/fdl.texi, doc/include/funding.texi, doc/include/gpl.texi: Adjust for conversion by texi2pod.pl. * doc/.cvsignore: Add gfdl.7, gpl.7 and fsf-funding.7. gcc/cp: * Make-lang.in: Change all uses of $(manext) to $(man1ext). gcc/f: * Make-lang.in: Change all uses of $(manext) to $(man1ext). From-SVN: r46998
* extend.texi, [...]: Improve formatting.Joseph Myers2001-07-031-4/+3
| | | | | | | | | | | | gcc: * doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Improve formatting. Improve documentation of -std and -Wwrite-strings. contrib: * texi2pod.pl: Handle @r inside @item. From-SVN: r43718
* * texi2pod.pl: Add copyright and GPL notices.Joseph Myers2001-05-031-0/+19
| | | | From-SVN: r41800
* texi2pod.pl: Handle "\,".Joseph Myers2001-01-241-0/+1
| | | | | | | | | | contrib: * texi2pod.pl: Handle "\,". gcc: * gcc.1, cpp.1: Regenerate. From-SVN: r39244
* texi2pod.pl: Fix regular expression for @r to avoid exponential recursion.Joseph Myers2001-01-151-3/+1
| | | | | | | | | | | | | contrib: * texi2pod.pl: Fix regular expression for @r to avoid exponential recursion. From Russ Allbery <rra@stanford.edu>. Remove perl version check. gcc: * configure.in, configure: Revert previous patch requiring perl 5.6.0. From-SVN: r39053
* texi2pod.pl: Require at least perl 5.6.0.Joseph Myers2001-01-141-0/+2
| | | | | | | | | | | | contrib: * texi2pod.pl: Require at least perl 5.6.0. gcc: * configure.in: Require at least perl 5.6.0 to regenerate manpages. * configure: Regenerate. From-SVN: r39018
* gcc_update: Add gcc/gcc.1 to generated files.Joseph Myers2001-01-131-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | contrib: * gcc_update: Add gcc/gcc.1 to generated files. * texi2pod.pl: Handle @r and @gccoptlist. Handle @gol. Handle discarding to end of sentence with @xref where the sentence has an interior "." in markup, and handle discarding parentheses around such a sentence. gcc: * Makefile.in (generated-manpages): Add gcc.1 ($(srcdir)/gcc.1): New target. (maintainer-clean): Delete $(srcdir)/gcc.1. * gcc.texi: Add macros @gccoptlist and @gol. * invoke.texi: Include option summary in manpage. Mark up option summary with @gccoptlist and @gol. Use @r in one place where appropriate. * texinfo.tex: Update to version 2000-12-11.07 from ftp.gnu.org. * gcc.1: Generate from invoke.texi. gcc/cp: * g++.1: Change to be ".so man1/gcc.1". From-SVN: r38993
* gcc.texi: Define macro gcctabopt.Joseph Myers2001-01-101-3/+3
| | | | | | | | | | | | | | | gcc: * gcc.texi: Define macro gcctabopt. * invoke.texi: Add manpage sections BUGS and AUTHOR. Use @command, @env and @option in some places where appropriate. Use @gcctabopt where appropriate. Put URLs and email addresses inside @w. contrib: * texi2pod.pl: Handle @gcctabopt and @env in tables. Handle @command. Format URLs and email addresses in bold. From-SVN: r38863
* texi2pod.pl: Handle @option and @env.Joseph Myers2001-01-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | contrib: * texi2pod.pl: Handle @option and @env. gcc: * configure.in: Require at least texinfo 4.0. Check for whether Pod::Man is sufficiently recent to regenerate GCC manpages. * configure: Regenerate. * Makefile.in (TEXI2POD): Call perl explicitly rather than relying on #!. (GENERATED_MANPAGES): Define. (generated-manpages): New target. Depend on cpp.1 as well as gcov.1. (install-man): Depend on $(GENERATED_MANPAGES) (defined by configure to generated-manpages or empty) rather than on the manpages directly. Remove execute permission from installed gcov.1 as well as cpp.1. * cpp.1, gcov.1: Regenerate. From-SVN: r38668
* texi2pod.pl: If multiple @c man sections with the same tag appear...Zack Weinberg2000-12-071-33/+45
| | | | | | | | | | * texi2pod.pl: If multiple @c man sections with the same tag appear, concatenate them in the final output. When skipping, ignore block commands that can't cause skipping, and honor those that can. Ensure that verbatim blocks are separate paragraphs. From-SVN: r38117
* texi2pod.pl: Restructure for comprehensibility, add comments.Zack Weinberg2000-12-051-102/+183
| | | | | | | | | * texi2pod.pl: Restructure for comprehensibility, add comments. Merge handling of @ignore and @ifxxx. Handle a whole bunch more Texinfo commands. Use consistent formatting style. From-SVN: r38052
* texi2pod.pl: - Add real command line parsing.Zack Weinberg2000-11-191-39/+120
| | | | | | | | | | | | | * texi2pod.pl: - Add real command line parsing. - Support @ifset, @ifclear, @set, @value, -D switch. - Support @sc. Improve handling of @ref and friends. - Discard @subsection, @need, @node lines. - Un-nest font changes to match texinfo semantics. - Handle @{ and @}. Oops. - Don't emit E<> directives inside verbatim blocks. From-SVN: r37569
* cpp.texi: Minor update.Zack Weinberg1999-06-141-0/+151
1999-06-14 Zack Weinberg <zack@rabi.columbia.edu> * cpp.texi: Minor update. * cpp.1: Regenerate from cpp.texi, using... * contrib/texi2pod.pl: ...this (new file) plus some hand tweaks. From-SVN: r27525