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 +- libgomp/libgomp.texi | 2 +- libitm/libitm.texi | 2 +- libquadmath/libquadmath.texi | 4 ++-- 11 files changed, 22 insertions(+), 26 deletions(-) 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 diff --git a/libgomp/libgomp.texi b/libgomp/libgomp.texi index 2c1f1b5..1f776b4 100644 --- a/libgomp/libgomp.texi +++ b/libgomp/libgomp.texi @@ -54,7 +54,7 @@ Boston, MA 02110-1301 USA @subtitle The GNU OpenMP and OpenACC Implementation @page @vskip 0pt plus 1filll -@comment For the @value{version-GCC} Version* +@comment For the $$version-GCC$$ Version* @sp 1 Published by the Free Software Foundation @* 51 Franklin Street, Fifth Floor@* diff --git a/libitm/libitm.texi b/libitm/libitm.texi index 7a7a109..634ed24 100644 --- a/libitm/libitm.texi +++ b/libitm/libitm.texi @@ -35,7 +35,7 @@ This manual documents the GNU Transactional Memory Library. @title The GNU Transactional Memory Library @page @vskip 0pt plus 1filll -@comment For the @value{version-GCC} Version* +@comment For the $$version-GCC$$ Version* @sp 1 @insertcopying @end titlepage diff --git a/libquadmath/libquadmath.texi b/libquadmath/libquadmath.texi index 0d2b664..e870d40 100644 --- a/libquadmath/libquadmath.texi +++ b/libquadmath/libquadmath.texi @@ -44,7 +44,7 @@ Boston, MA 02110-1301 USA @title The GCC Quad-Precision Math Library @page @vskip 0pt plus 1filll -@comment For the @value{version-GCC} Version* +@comment For the $$version-GCC$$ Version* @sp 1 Published by the Free Software Foundation @* 51 Franklin Street, Fifth Floor@* @@ -377,7 +377,7 @@ int main () @chapter Reporting Bugs Bugs in the GCC Quad-Precision Math Library implementation should be -reported via @value{BUGURL}. +reported via $$BUGURL$$. @c --------------------------------------------------------------------- -- cgit v1.1