diff options
author | Gaius Mulley <gaiusmod2@gmail.com> | 2023-02-03 16:35:22 +0000 |
---|---|---|
committer | Gaius Mulley <gaiusmod2@gmail.com> | 2023-02-03 16:35:22 +0000 |
commit | 8d2c5b6101426f036bec7940aa29bf7bb8c4abc9 (patch) | |
tree | 0f50bea8a02fb3ea5e630237f6f254369508d0f3 /gcc/doc | |
parent | c9aef107ce697f58a34734d82f8d2514405c9be0 (diff) | |
download | gcc-8d2c5b6101426f036bec7940aa29bf7bb8c4abc9.zip gcc-8d2c5b6101426f036bec7940aa29bf7bb8c4abc9.tar.gz gcc-8d2c5b6101426f036bec7940aa29bf7bb8c4abc9.tar.bz2 |
[modula-2] Bugfix to allow html doc build and simplify target dir creation
This patch allows the m2 html documentation to be built.
It also simplifies all calls to $(mkinstalldirs) using $(@D) in
gcc/m2/Make-lang.in.
gcc/ChangeLog:
* doc/gm2.texi (Internals): Remove from menu.
(Using): Comment out ifnohtml conditional.
(Documentation): Use gcc url.
(License): Node simplified.
(Copying): New node. Include gpl_v3_without_node.
(Contributing): Node simplified.
(Internals): Commented out.
(Libraries): Node simplified.
(Indices): Ditto.
(Contents): Ditto.
(Functions): Ditto.
gcc/m2/ChangeLog:
* Make-lang.in (TEXISRC): Remove m2/images/gnu.eps.
(RSTSRC): Remove m2/images/gnu.eps.
(doc/m2.dvi): Add $(objdir)/m2/images/gnu.eps.
(doc/m2.pdf): Add $(objdir)/m2/images/gnu.eps.
(M2_PDFFILES): New definition.
(m2.install-pdf): New rule.
(m2.pod): Add $(objdir)/m2/images/gnu.eps.
(m2.info): Add $(objdir)/m2/images/gnu.eps.
(m2.html): New rule.
(m2/gpl_v3_without_node.texi): New rule.
(plugin/m2rte$(soext)): Simplify mkinstalldirs.
(cc1gm2$(exeext)): Ditto.
(m2/stage1/cc1gm2$(exeext)): Ditto.
(m2/gm2-gcc/%.o): Ditto.
(m2/gm2-gcc/rtegraph.o): Ditto.
(m2/gm2-gcc/$(SRC_PREFIX)%.h): Ditto.
(m2/mc-boot/$(SRC_PREFIX)%.o):Ditto.
(m2/mc-boot-ch/$(SRC_PREFIX)%.o): Ditto.
(m2/mc-boot/main.o): Ditto.
(m2/gm2-libs-boot/%.o): Ditto.
(m2/gm2-libs-boot/$(SRC_PREFIX)%.h): Ditto.
(m2/gm2-libs-boot/RTcodummy.o): Ditto.
(m2/gm2-libs-boot/wrapc.o): Ditto.
(m2/gm2-libs-boot/M2LINK.o): Ditto.
(m2/gm2-libs-boot/UnixArgs.o): Ditto.
(m2/gm2-libs-boot/choosetemp.o): Ditto.
(m2/gm2-libs-boot/errno.o): Ditto.
(m2/gm2-libs-boot/dtoa.o): Ditto.
(m2/gm2-libs-boot/ldtoa.o): Ditto.
(m2/gm2-libs-boot/termios.o): Ditto.
(m2/gm2-libs-boot/SysExceptions.o): Ditto.
(m2/gm2-libs-boot/SysStorage.o): Ditto.
(m2/gm2-compiler-boot/M2GCCDeclare.o): Ditto.
(m2/gm2-compiler-boot/M2Error.o): Ditto.
(m2/gm2-compiler-boot/%.o): Ditto.
(m2/gm2-compiler-boot/$(SRC_PREFIX)%.h): Ditto.
(m2/gm2-compiler-boot/m2flex.o): Ditto.
(m2/gm2-compiler/m2flex.c): Ditto.
(m2/gm2-libiberty/$(SRC_PREFIX)%.h): Ditto.
(m2/gm2-compiler/%.o): Ditto.
(m2/gm2-compiler/m2flex.o): Ditto.
(m2/gm2-compiler/%.o): Ditto.
(m2/gm2-libs-iso/%.o): Ditto.
(m2/gm2-libs/gm2-libs-host.h): Ditto.
($(objdir)/m2/gm2-libs-min/SYSTEM.def): Ditto.
($(objdir)/m2/gm2-libs/SYSTEM.def): Ditto.
($(objdir)/m2/gm2-libs-iso/SYSTEM.def): Ditto.
($(objdir)/m2/gm2-libs-coroutines/SYSTEM.def): Ditto.
(m2/gm2-compiler/gm2.a): Ditto.
(m2/gm2-libs-boot/libgm2.a): Ditto.
(m2/gm2-compiler-boot/gm2.a): Ditto.
(m2/boot-bin/mklink$(exeext)): Ditto.
(m2/gm2-compiler-boot/$(SRC_PREFIX)%.h): Ditto.
(m2/gm2-compiler/%.mod): Ditto.
(m2/gm2-compiler-boot/%.mod): Ditto.
(m2/pge-boot/%.o): Ditto.
Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/gm2.texi | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/gcc/doc/gm2.texi b/gcc/doc/gm2.texi index fad9faf..5b1858b 100644 --- a/gcc/doc/gm2.texi +++ b/gcc/doc/gm2.texi @@ -73,7 +73,7 @@ Boston, MA 02110-1301, USA@* * License:: License of GNU Modula-2 * Copying:: GNU Public License V3. * Contributing:: Contributing to GNU Modula-2 -* Internals:: GNU Modula-2 internals. +@c * Internals:: GNU Modula-2 internals. * EBNF:: EBNF of GNU Modula-2 * Libraries:: PIM and ISO library definitions. * Indices:: Document and function indices. @@ -243,7 +243,7 @@ such as the AVR and the ARM). * Built-ins:: Accessing GNU Modula-2 Built-ins. * The PIM system module:: SYSTEM data types and procedures. * The ISO system module:: SYSTEM data types, procedures and run time. -@ifnothtml +@c @ifnothtml @c omit these nodes if generating gm2 webpage as these are hand written. * Release map:: Release map. * Documentation:: Placeholder for how to access the documentation online. @@ -253,7 +253,7 @@ such as the AVR and the ARM). * FAQ:: Frequently asked questions. * Community:: How to join the community. * Other languages:: Other languages for GCC. -@end ifnothtml +@c @end ifnothtml @end menu This document contains the user and design issues relevant to the @@ -2658,7 +2658,7 @@ you wish to see something different please email @section Documentation The GNU Modula-2 documentation is available on line -@url{https://www.nongnu.org/gm2/homepage.html,at the gm2 homepage} +@url{https://gcc.gnu.org/onlinedocs} or in the pdf, info, html file format. @node Regression tests, Limitations, Documentation, Using @@ -2746,7 +2746,7 @@ The mailing list contents can be viewed These exist and can be found on the frontends web page on the @uref{http://gcc.gnu.org/frontends.html, gcc web site}. -@node License, Copying, Using, Top +@node License, , , @section License of GNU Modula-2 GNU Modula-2 is free software, the compiler is held under the GPL v3 @@ -2766,10 +2766,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see More information on how these licenses work is available @uref{http://www.gnu.org/licenses/licenses.html} on the GNU web site. -@c Copying node is inside the gpl_v3.texi -@include gpl_v3.texi +@node Copying, , , +@include gpl_v3_without_node.texi -@node Contributing, Internals, Copying, Top +@node Contributing, , , @section Contributing to GNU Modula-2 Please do and please read the GNU Emacs info under @@ -2788,12 +2788,12 @@ coding. The mailing list may be subscribed via a web interface Many thanks and enjoy your coding! -@node Internals, EBNF, Contributing, Top +@c @node Internals, , , -This section is still being written. +@c This section is still being written. @c @include gm2-internals.texi -@node EBNF, Libraries, Internals, Top +@node EBNF, , , @chapter EBNF of GNU Modula-2 This chapter contains the EBNF of GNU Modula-2. This grammar currently @@ -2807,14 +2807,14 @@ phase. @include m2/gm2-ebnf.texi -@node Libraries, Indices, EBNF, Top +@node Libraries, , , @chapter PIM and ISO library definitions This chapter contains M2F, PIM and ISO libraries. @include m2/gm2-libs.texi -@node Indices, , Libraries, Top +@node Indices, , , @section Indices @ifhtml @@ -2823,11 +2823,11 @@ This chapter contains M2F, PIM and ISO libraries. * Functions:: Function, constants, types, ebnf indices. @end menu -@node Contents, Functions, , +@node Contents, , , @section Section and subsections @printindex cp -@node Functions, , Contents, +@node Functions, , , @section Function, constants, types, ebnf indices. @end ifhtml |