From ecb7b9c41347dba4087efe3c87d195e70297594c Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Wed, 7 Apr 2021 10:06:58 +0200 Subject: Encode some macros. --- gcc/doc/bugreport.texi | 2 +- gcc/doc/gcc.texi | 6 ++---- gcc/doc/gccint.texi | 6 ++---- gcc/doc/include/gcc-common.texi | 6 +++--- gcc/doc/invoke.texi | 2 +- gcc/fortran/gfc-internals.texi | 8 ++++---- gcc/fortran/gfortran.texi | 8 ++++---- gcc/fortran/invoke.texi | 2 +- 8 files changed, 18 insertions(+), 22 deletions(-) (limited to 'gcc') diff --git a/gcc/doc/bugreport.texi b/gcc/doc/bugreport.texi index 9f61bf7..3caf0ad 100644 --- a/gcc/doc/bugreport.texi +++ b/gcc/doc/bugreport.texi @@ -85,4 +85,4 @@ suggestions for improvement of GCC are welcome in any case. @section How and Where to Report Bugs @cindex compiler bugs, reporting -Bugs should be reported to the bug database at @value{BUGURL}. +Bugs should be reported to the bug database at $$BUGURL$$. diff --git a/gcc/doc/gcc.texi b/gcc/doc/gcc.texi index 70bde4a..f0d40fb 100644 --- a/gcc/doc/gcc.texi +++ b/gcc/doc/gcc.texi @@ -122,10 +122,8 @@ Printed copies are available for $45 each. This manual documents how to use the GNU compilers, as well as their features and incompatibilities, and how to report bugs. It corresponds to the compilers -@ifset VERSION_PACKAGE -@value{VERSION_PACKAGE} -@end ifset -version @value{version-GCC}. +$$VERSION_PACKAGE$$ +version $$version-GCC$$. The internals of the GNU compilers, including how to port them to new targets and some information about how to write front ends for new languages, are documented in a separate manual. @xref{Top,, diff --git a/gcc/doc/gccint.texi b/gcc/doc/gccint.texi index 67137a9..a81cbc7 100644 --- a/gcc/doc/gccint.texi +++ b/gcc/doc/gccint.texi @@ -77,10 +77,8 @@ This file documents the internals of the GNU compilers. This manual documents the internals of the GNU compilers, including how to port them to new targets and some information about how to write front ends for new languages. It corresponds to the compilers -@ifset VERSION_PACKAGE -@value{VERSION_PACKAGE} -@end ifset -version @value{version-GCC}. The use of the GNU compilers is documented in a +$$VERSION_PACKAGE$$ +version $$version-GCC$$. The use of the GNU compilers is documented in a separate manual. @xref{Top,, Introduction, gcc, Using the GNU Compiler Collection (GCC)}. diff --git a/gcc/doc/include/gcc-common.texi b/gcc/doc/include/gcc-common.texi index 6448df3..d228b22 100644 --- a/gcc/doc/include/gcc-common.texi +++ b/gcc/doc/include/gcc-common.texi @@ -58,14 +58,14 @@ @c been placed, and before any authors are placed. @macro versionsubtitle @ifclear DEVELOPMENT -@subtitle For @sc{gcc} version @value{version-GCC} +@subtitle For @sc{gcc} version $$version-GCC$$ $$development-GCC$$ @end ifclear @ifset DEVELOPMENT -@subtitle For @sc{gcc} version @value{version-GCC} (pre-release) +@subtitle For @sc{gcc} version $$version-GCC$$ $$development-GCC$$ @end ifset @ifset VERSION_PACKAGE @sp 1 -@subtitle @value{VERSION_PACKAGE} +@subtitle $$VERSION_PACKAGE$$ @end ifset @c Even if there are no authors, the second titlepage line should be @c forced to the bottom of the page. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 1755124..671db2d 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -51,7 +51,7 @@ and the Info entries for @file{gcc}, @file{cpp}, @file{as}, @c man end @c man begin BUGS For instructions on reporting bugs, see -@w{@value{BUGURL}}. +$$BUGURL$$. @c man end @c man begin AUTHOR See the Info entry for @command{gcc}, or diff --git a/gcc/fortran/gfc-internals.texi b/gcc/fortran/gfc-internals.texi index 49de0ce..21cd022 100644 --- a/gcc/fortran/gfc-internals.texi +++ b/gcc/fortran/gfc-internals.texi @@ -102,11 +102,11 @@ Boston, MA 02110-1301, USA@* This manual documents the internals of @command{gfortran}, the GNU Fortran compiler. -@ifset DEVELOPMENT +ifsetDEVELOPMENT @emph{Warning:} This document, and the compiler it describes, are still under development. While efforts are made to keep it up-to-date, it might not accurately reflect the status of the most recent GNU Fortran compiler. -@end ifset +endifset @comment @comment When you add a new menu item, please keep the right hand @@ -139,12 +139,12 @@ not accurately reflect the status of the most recent GNU Fortran compiler. This manual documents the internals of @command{gfortran}, the GNU Fortran compiler. -@ifset DEVELOPMENT +ifsetDEVELOPMENT @emph{Warning:} This document, and the compiler it describes, are still under development. While efforts are made to keep it up-to-date, it might not accurately reflect the status of the most recent GNU Fortran compiler. -@end ifset +endifset @end iftex At present, this manual is very much a work in progress, containing diff --git a/gcc/fortran/gfortran.texi b/gcc/fortran/gfortran.texi index 60bf257..319b65c 100644 --- a/gcc/fortran/gfortran.texi +++ b/gcc/fortran/gfortran.texi @@ -161,11 +161,11 @@ This manual documents the use of @command{gfortran}, the GNU Fortran compiler. You can find in this manual how to invoke @command{gfortran}, as well as its features and incompatibilities. -@ifset DEVELOPMENT +ifsetDEVELOPMENT @emph{Warning:} This document, and the compiler it describes, are still under development. While efforts are made to keep it up-to-date, it might not accurately reflect the status of the most recent GNU Fortran compiler. -@end ifset +endifset @comment @comment When you add a new menu item, please keep the right hand @@ -212,12 +212,12 @@ This manual documents the use of @command{gfortran}, the GNU Fortran compiler. You can find in this manual how to invoke @command{gfortran}, as well as its features and incompatibilities. -@ifset DEVELOPMENT +ifsetDEVELOPMENT @emph{Warning:} This document, and the compiler it describes, are still under development. While efforts are made to keep it up-to-date, it might not accurately reflect the status of the most recent GNU Fortran compiler. -@end ifset +endifset @end iftex The GNU Fortran compiler front end was diff --git a/gcc/fortran/invoke.texi b/gcc/fortran/invoke.texi index 0fb7e1a..f00579a 100644 --- a/gcc/fortran/invoke.texi +++ b/gcc/fortran/invoke.texi @@ -47,7 +47,7 @@ and the Info entries for @file{gcc}, @file{cpp}, @file{gfortran}, @file{as}, @c man end @c man begin BUGS For instructions on reporting bugs, see -@w{@value{BUGURL}}. +$$BUGURL$$. @c man end @c man begin AUTHOR See the Info entry for @command{gfortran} for contributors to GCC and -- cgit v1.1