This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: makeinfo --no-split
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- To: gcc-patches at gcc dot gnu dot org, "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Cc: Alexandre Oliva <aoliva at redhat dot com>
- Date: Fri, 18 Apr 2003 20:26:26 +0200 (CEST)
- Subject: Re: makeinfo --no-split
- References: <Pine.BSF.4.53.0304032044460.64978@naos.dbai.tuwien.ac.at><Pine.LNX.4.53.0304040718080.23354@kern.srcf.societies.cam.ac.uk><Pine.BSF.4.53.0304061513390.17727@acrux.dbai.tuwien.ac.at>
On Sun, 6 Apr 2003, Gerald Pfeifer wrote:
> I have tested the patch below, and it works, so I plan to commit it to
> mainline and the two active release branches.
>
> 2003-04-07 Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
>
> * Makefile.tpl (MAKEINFOFLAGS): Default to --no-split.
> * Makefile.in: Regenerate.
To avoid problems with possibly undesired interactions with the generation
of HTML files, I now committed the following instead, to mainline, which
only affects generation of .info files and was suggested by Karl Berry,
of texinfo fame.
2003-04-18 Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
* Makefile.tpl (MAKEINFOFLAGS): Default to --split-size=5000000.
* Makefile.in: Regenerate.
Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/Makefile.in,v
retrieving revision 1.159
diff -u -3 -p -r1.159 Makefile.in
--- Makefile.in 17 Apr 2003 21:04:05 -0000 1.159
+++ Makefile.in 18 Apr 2003 18:24:21 -0000
@@ -203,7 +203,8 @@ USUAL_MAKEINFO = `if [ -f $$r/texinfo/ma
# This just becomes part of the MAKEINFO definition passed down to
# sub-makes. It lets flags be given on the command line while still
# using the makeinfo from the object tree.
-MAKEINFOFLAGS =
+# (Default to avoid splitting info files by setting the threshold high.)
+MAKEINFOFLAGS = --split-size=5000000
EXPECT = `if [ -f $$r/expect/expect ] ; \
then echo $$r/expect/expect ; \
Index: Makefile.tpl
===================================================================
RCS file: /cvs/gcc/gcc/Makefile.tpl,v
retrieving revision 1.42
diff -u -3 -p -r1.42 Makefile.tpl
--- Makefile.tpl 17 Apr 2003 21:04:04 -0000 1.42
+++ Makefile.tpl 18 Apr 2003 18:24:22 -0000
@@ -206,7 +206,8 @@ USUAL_MAKEINFO = `if [ -f $$r/texinfo/ma
# This just becomes part of the MAKEINFO definition passed down to
# sub-makes. It lets flags be given on the command line while still
# using the makeinfo from the object tree.
-MAKEINFOFLAGS =
+# (Default to avoid splitting info files by setting the threshold high.)
+MAKEINFOFLAGS = --split-size=5000000
EXPECT = `if [ -f $$r/expect/expect ] ; \
then echo $$r/expect/expect ; \