Commit Graph

35 Commits

Author SHA1 Message Date
Uros Bizjak
386c402747 texi2pod.pl: Force .pod file to not be a numbered list.
* texi2pod.pl: Force .pod file to not be a numbered list.

From-SVN: r210889
2014-05-24 08:38:31 +02:00
Ralf Wildenhues
ab940b73bf Improve formatting of manuals.
contrib/:
	* texi2pod.pl: Replace @@ before @{ and @}, for @samp{@@}.
	Also escape characters with grave accents, to be fixed ...
	(unmunge): ... here.
	(postprocess): Also handle @/ and @acronym{...}.

gcc/:
	* doc/contrib.texi (Contributors): Allow URL to wrap in PDF
	output.
	* doc/cppopts.texi: Fix markup of index entry.
	* doc/extend.texi (Constructing Calls): Fix markup of
	__builtin_va_arg_pack and __builtin_va_arg_pack_len definition.
	(Conditionals, C++ Comments, Pragmas, Unnamed Fields, Thread-Local)
	(Vague Linkage, C++ Attributes): Fix markup of index entries and
	keywords.
	* doc/invoke.texi (Option Summary): Fix spacing.  Rewrap to
	avoid long lines.
	(C Dialect Options, C++ Dialect Options, Warning Options)
	(Debugging Options, Spec Files, Darwin Options)
	(i386 and x86-64 Options, MIPS Options)
	(RS/6000 and PowerPC Options, Code Gen Options): Fix markup of
	index entries, avoid abbreviations, allow URLs to wrap, avoid
	long lines, avoid overlong pages from long @itemx lists.
	* doc/objc.texi (Garbage Collection): Allow URLs to wrap.
	* doc/standards.texi (Standards): Likewise.
	* doc/trouble.texi (Incompatibilities): Fix markup of index
	entry.

gcc/fortran/:
	* gfortran.texi (Argument list functions): Allow URL to wrap.
	* intrinsic.texi (GETGID, GETPID, GETUID, IMAGE_INDEX)
	(IS_IOSTAT_END, IS_IOSTAT_EOR, NUM_IMAGES, THIS_IMAGE)
	(ISO_FORTRAN_ENV): Fix markup in index entries, and a couple of
	code markups in the text.
	* invoke.texi (Fortran Dialect Options)
	(Error and Warning Options, Directory Options, Code Gen Options):
	Likewise.  Remove @code inside @smallexample.

From-SVN: r164533
2010-09-22 20:22:51 +00:00
Joseph Myers
7f9766e49a texi2pod.pl: Handle @samp and @url inside verbatim blocks.
contrib:
	* texi2pod.pl: Handle @samp and @url inside verbatim blocks.
	Handle @heading.  Handle enumerated lists with starting numbers
	and extra headings.

gcc:
	* doc/include/gpl_v3.texi: Update for manpage generation.
	* doc/gcc.texi, doc/gccint.texi: Include gpl_v3.texi instead of
	gpl.texi.
	* doc/sourcebuild.texi: Document gpl_v3.texi as well as gpl.texi.
	* Makefile.in (TEXI_GCC_FILES, TEXI_GCCINT_FILES): Include
	gpl_v3.texi instead of gpl.texi.
	(gpl.pod): New.

gcc/fortran:
	* gfortran.texi: Include gpl_v3.texi instead of gpl.texi
	* Make-lang.in (GFORTRAN_TEXI): Include gpl_v3.texi instead of
	gpl.texi.

gcc/java:
	* gcj.texi: Include gpl_v3.texi instead of gpl.texi
	* Make-lang.in (TEXI_JAVA_FILES): Include gpl_v3.texi instead of
	gpl.texi.

From-SVN: r133794
2008-04-01 17:38:56 +01:00
Sebastian Pop
3dfb41c564 compareSumTests3: Changed to GPLv3.
2007-12-26  Sebastian Pop  <sebastian.pop@amd.com>

	* compareSumTests3: Changed to GPLv3.
	* prepare_patch.sh: Same.
	* uninclude: Same.
	* dglib.pm: Same.
	* gennews: Same.
	* texi2pod.pl: Same.
	* analyze_brprob: Same.
	* gcc_build: Same.

From-SVN: r131186
2007-12-26 21:42:35 +00:00
Manuel López-Ibáñez
7b6cb84335 invoke.texi (Wall): fix formatting issues.
2007-10-08  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

 * doc/invoke.texi (Wall): fix formatting issues.

contrib/
 * texi2pod.pl: Handle @asis.
 (postprocess): Move @gccoptlist{} after all formatting commands.

From-SVN: r129125
2007-10-08 14:05:51 +00:00
Zack Weinberg
3caecafa48 * texi2pod.pl: Correct handling of @itemize with no argument.
From-SVN: r123514
2007-04-05 05:46:41 +00:00
Matthias Klose
d0fc3f0654 texi2pod.pl: Handle @subsubsection, ignore @anchor.
2007-02-16  Matthias Klose  <doko@debian.org>

        * texi2pod.pl: Handle @subsubsection, ignore @anchor.

From-SVN: r122026
2007-02-16 01:02:57 +00:00
Richard Sandiford
427e84f7fe texi2pod.pl: Handle @multitable.
contrib/
	* texi2pod.pl: Handle @multitable.

From-SVN: r121646
2007-02-06 13:14:18 +00:00
Daniel Jacobowitz
5dd59f65ca * texi2pod.pl: Correct handling of absolute @include.
From-SVN: r114271
2006-05-31 15:48:05 +00:00
Daniel Jacobowitz
84309a323e * texi2pod.pl: Handle -I.
From-SVN: r113462
2006-05-02 13:50:58 +00:00
Mark Mitchell
901097dbd4 * texi2pod.pl: Substitue for @value even when part of @include.
From-SVN: r105780
2005-10-21 23:31:07 +00:00
Bob Wilson
0928f4059f texi2pod.pl: Convert two single quotes or two backquotes to double quotes.
* texi2pod.pl: Convert two single quotes or two backquotes to
	double quotes.

From-SVN: r105758
2005-10-21 17:54:27 +00:00
Kelley Cook
89ee9c70a1 All files: Update with new FSF address.
2005-08-14  Kelley Cook  <kcook@gcc.gnu.org>

	* All files: Update with new FSF address.

From-SVN: r103095
2005-08-15 00:41:31 +00:00
Matthias Klose
df6e87bf75 texi2pod.pl: keep references of the form @ref{...}, print them bold.
2004-08-26  Matthias Klose  <doko@debian.org>

	* texi2pod.pl: keep references of the form @ref{...}, print them bold.

From-SVN: r86635
2004-08-26 21:26:22 +00:00
Matt Kraai
5bea01beb9 * texi2pod.pl: Remove extra line.
From-SVN: r70036
2003-08-01 03:10:56 +00:00
Matt Kraai
9fa0903819 * texi2pod.pl: Default @itemize's parameter to @bullet.
From-SVN: r69399
2003-07-15 09:24:07 +00:00
Nathanael Nerode
487a942794 analyze_brprob, [...]: Change GNU CC to GCC.
* analyze_brprob, gcc_build, gennews, texi2pod.pl: Change GNU CC
	to GCC.

From-SVN: r67120
2003-05-23 16:20:44 +00:00
Joseph Myers
d6bef02d0e * texi2pod.pl: Skip contents of @copying.
From-SVN: r60477
2002-12-24 18:56:21 +00:00
Zack Weinberg
dd6773cd70 * texi2pod.pl: Correct handling of the internal R<> sequence.
From-SVN: r55012
2002-06-26 16:50:04 +00:00
Zack Weinberg
28852cc64a * texi2pod.pl: Handle @end ftable and @end vtable.
From-SVN: r51364
2002-03-26 03:04:41 +00:00
Zack Weinberg
049b03f488 texi2pod.pl: Handle @include, @ftable, @vtable.
* contrib/texi2pod.pl: Handle @include, @ftable, @vtable.
	Reformat some code for clarity.
	* gcc/Makefile.in: Give texi2pod its input file as a command
	line argument, not on stdin.

From-SVN: r50592
2002-03-11 20:37:13 +00:00
Matthias Klose
3da33af300 texi2pod.pl: Merge changes from binutils' texi2pod.pl.
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
2001-12-14 22:46:31 +00:00
Joseph Myers
77bd67cbdd texi2pod.pl: Handle @ifnottex, @iftex and @display.
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
2001-11-14 00:47:47 +00:00
Joseph Myers
aee96fe99b extend.texi, [...]: Improve formatting.
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
2001-07-03 01:46:05 +01:00
Joseph Myers
6e26f4aa9f * texi2pod.pl: Add copyright and GPL notices.
From-SVN: r41800
2001-05-03 20:45:32 +01:00
Joseph Myers
445c435a52 texi2pod.pl: Handle "\,".
contrib:
	* texi2pod.pl: Handle "\,".

gcc:
	* gcc.1, cpp.1: Regenerate.

From-SVN: r39244
2001-01-24 19:47:47 +00:00
Joseph Myers
3f896fc299 texi2pod.pl: Fix regular expression for @r to avoid exponential recursion.
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
2001-01-15 23:32:25 +00:00
Joseph Myers
150d3c0086 texi2pod.pl: Require at least perl 5.6.0.
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
2001-01-14 21:47:19 +00:00
Joseph Myers
4bc1997b1a gcc_update: Add gcc/gcc.1 to generated files.
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
2001-01-13 21:17:13 +00:00
Joseph Myers
2642624b16 gcc.texi: Define macro gcctabopt.
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
2001-01-10 10:54:02 +00:00
Joseph Myers
fd939e46c9 texi2pod.pl: Handle @option and @env.
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
2001-01-03 20:15:01 +00:00
Zack Weinberg
f4e8dec658 texi2pod.pl: If multiple @c man sections with the same tag appear...
* 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
2000-12-07 22:11:12 +00:00
Zack Weinberg
b75d998f0e texi2pod.pl: Restructure for comprehensibility, add comments.
* 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
2000-12-05 22:12:42 +00:00
Zack Weinberg
3d6f4d76bc texi2pod.pl: - Add real command line parsing.
* 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
2000-11-19 19:02:50 +00:00
Zack Weinberg
6251188c9d cpp.texi: Minor update.
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
1999-06-14 17:21:46 +00:00