bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making makeinfo --no-split the default?


From: Karl Berry
Subject: Re: Making makeinfo --no-split the default?
Date: Wed, 30 Apr 2003 20:37:29 -0400

    Hmm, I just noticed that using makeinfo --split-size=5000000 when building
    the GCC manuals has the following effect:

      % ls -l $GCC_SOURCE/gcc/doc/*info* | cut -c31-
         3244 Apr 15 18:15 /sw/test/gcc/cvs/gcc/doc/cpp.info
       208620 Apr 15 18:15 /sw/test/gcc/cvs/gcc/doc/cpp.info-1

Hi Gerald --

I believe that fixing this was a happy benefit of some other changes I
just made.  Patch follows. When I tried simply gcc --split-size=10000000
gcc.texi, I got a million errors, looked like some complex build stuff
must be going on.  It worked with emacs.texi and texinfo.txi, though.

If you get the latest texinfo sources from cvs, be sure to get
everything and not just node.c, as I just made a number of interrelated
changes to several files.

Thanks,
karl


*** node.c      29 Apr 2003 23:05:48 -0000      1.10
--- node.c      1 May 2003 00:05:27 -0000       1.11
***************
*** 1634,1641 ****
    if (size == 0)
      size = DEFAULT_SPLIT_SIZE;
  
!   if ((stat (filename, &fileinfo) != 0) ||
!       (((long) fileinfo.st_size) < SPLIT_SIZE_THRESHOLD))
      return;
    file_size = (long) fileinfo.st_size;
  
--- 1634,1641 ----
    if (size == 0)
      size = DEFAULT_SPLIT_SIZE;
  
!   if ((stat (filename, &fileinfo) != 0)
!       || (((long) fileinfo.st_size) < size))
      return;
    file_size = (long) fileinfo.st_size;
  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]