public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/marxin/heads/sphinx-generate-docs)] Encode some macros.
@ 2021-04-12  7:30 Martin Liska
  0 siblings, 0 replies; 4+ messages in thread
From: Martin Liska @ 2021-04-12  7:30 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:5b750715abf4740e337c7ea37a44b5c3fb6d4e34

commit 5b750715abf4740e337c7ea37a44b5c3fb6d4e34
Author: Martin Liska <mliska@suse.cz>
Date:   Wed Apr 7 10:06:58 2021 +0200

    Encode some macros.

Diff:
---
 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 9f61bf73e8e..3caf0ad293e 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 70bde4a4f8f..f0d40fb3be7 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 67137a9376a..a81cbc71ec9 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 6448df31b87..d228b22c41d 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 46876ea2961..25d449a5537 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 86449004cea..ebb8f01136e 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
@@ -140,12 +140,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 60bf257cbf2..319b65c6250 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 0fb7e1add7e..f00579a3b84 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 2c1f1b5968b..1f776b42dcd 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 7a7a109af29..634ed24d604 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 f9a44acef2b..19e5932bb9c 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 ---------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gcc(refs/users/marxin/heads/sphinx-generate-docs)] Encode some macros.
@ 2021-04-08  8:11 Martin Liska
  0 siblings, 0 replies; 4+ messages in thread
From: Martin Liska @ 2021-04-08  8:11 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:c4cccca6eb106d2a012c2e0d39fb89651ace6a22

commit c4cccca6eb106d2a012c2e0d39fb89651ace6a22
Author: Martin Liska <mliska@suse.cz>
Date:   Wed Apr 7 10:06:58 2021 +0200

    Encode some macros.

Diff:
---
 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 9f61bf73e8e..3caf0ad293e 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 70bde4a4f8f..f0d40fb3be7 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 67137a9376a..a81cbc71ec9 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 6448df31b87..d228b22c41d 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 f4f2fb63952..dd5d8e84823 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 86449004cea..ebb8f01136e 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
@@ -140,12 +140,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 60bf257cbf2..319b65c6250 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 0fb7e1add7e..f00579a3b84 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 2c1f1b5968b..1f776b42dcd 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 7a7a109af29..634ed24d604 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 f9a44acef2b..19e5932bb9c 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 ---------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gcc(refs/users/marxin/heads/sphinx-generate-docs)] Encode some macros.
@ 2021-04-07  9:11 Martin Liska
  0 siblings, 0 replies; 4+ messages in thread
From: Martin Liska @ 2021-04-07  9:11 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:cd6a2b36c89f2853f1ece7ebcd906e4f626f4249

commit cd6a2b36c89f2853f1ece7ebcd906e4f626f4249
Author: Martin Liska <mliska@suse.cz>
Date:   Wed Apr 7 10:06:58 2021 +0200

    Encode some macros.

Diff:
---
 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 9f61bf73e8e..3caf0ad293e 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 70bde4a4f8f..f0d40fb3be7 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 67137a9376a..a81cbc71ec9 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 6448df31b87..d228b22c41d 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 f4f2fb63952..dd5d8e84823 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 86449004cea..ebb8f01136e 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
@@ -140,12 +140,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 60bf257cbf2..319b65c6250 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 0fb7e1add7e..f00579a3b84 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 2c1f1b5968b..1f776b42dcd 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 7a7a109af29..634ed24d604 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 f9a44acef2b..19e5932bb9c 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 ---------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gcc(refs/users/marxin/heads/sphinx-generate-docs)] Encode some macros.
@ 2021-04-07  8:07 Martin Liska
  0 siblings, 0 replies; 4+ messages in thread
From: Martin Liska @ 2021-04-07  8:07 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:2df7ebdcd2b55fcf64b2c89147ae809edb298ae2

commit 2df7ebdcd2b55fcf64b2c89147ae809edb298ae2
Author: Martin Liska <mliska@suse.cz>
Date:   Wed Apr 7 10:06:58 2021 +0200

    Encode some macros.

Diff:
---
 gcc/doc/gcc.texi                | 6 ++----
 gcc/doc/gccint.texi             | 6 ++----
 gcc/doc/include/gcc-common.texi | 6 +++---
 gcc/fortran/gfc-internals.texi  | 8 ++++----
 gcc/fortran/gfortran.texi       | 8 ++++----
 libgomp/libgomp.texi            | 2 +-
 libitm/libitm.texi              | 2 +-
 libquadmath/libquadmath.texi    | 2 +-
 8 files changed, 18 insertions(+), 22 deletions(-)

diff --git a/gcc/doc/gcc.texi b/gcc/doc/gcc.texi
index 70bde4a4f8f..f0d40fb3be7 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 67137a9376a..a81cbc71ec9 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 6448df31b87..d228b22c41d 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/fortran/gfc-internals.texi b/gcc/fortran/gfc-internals.texi
index 86449004cea..ebb8f01136e 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
@@ -140,12 +140,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 60bf257cbf2..319b65c6250 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/libgomp/libgomp.texi b/libgomp/libgomp.texi
index 2c1f1b5968b..1f776b42dcd 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 7a7a109af29..634ed24d604 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 f9a44acef2b..1b4dfd7543c 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@*


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-04-12  7:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-12  7:30 [gcc(refs/users/marxin/heads/sphinx-generate-docs)] Encode some macros Martin Liska
  -- strict thread matches above, loose matches on Subject: below --
2021-04-08  8:11 Martin Liska
2021-04-07  9:11 Martin Liska
2021-04-07  8:07 Martin Liska

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).