emacs-devel
[Top][All Lists]
Advanced

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

Re: No doc strings from DOC


From: Juanma Barranquero
Subject: Re: No doc strings from DOC
Date: Wed, 10 Apr 2002 13:21:28 +0200

On Thu, 04 Apr 2002 13:13:36 -0500, "Stefan Monnier" 
<monnier+gnu/address@hidden> wrote:

> The DOC file is not necessary for the bootstrap, so it would
> be simpler to not generate it before having generated the elc files.

(At least on Windows) you're right, and it's the only clean fix I can
see.

Trying to build DOC from the .el files does not work because
make-docfile, as expected, just dumps docstrings starting by
backslash-newline, and most docstrings in preloaded .el files aren't so.

Delaying the building of DOC to after bytecompiling lisp/*.el works
right.

The following patch implements that behavior for Windows. As I'm no
expert on the Emacs bootstrapping and building process, I'll delay
checking it in to see if someone points out any problem with it that
I've overlooked.


                                                           /L/e/k/t/u




Index: makefile.w32-in
===================================================================
RCS file: /cvs/emacs/nt/makefile.w32-in,v
retrieving revision 1.13
diff -u -r1.13 makefile.w32-in
--- makefile.w32-in     14 Dec 2001 18:14:00 -0000      1.13
+++ makefile.w32-in     10 Apr 2002 11:14:12 -0000
@@ -113,21 +113,24 @@
        cd ..\src
        $(MAKE) $(MFLAGS) clean
        cd ..\lib-src
-       $(MAKE) $(MFLAGS) clean DOC
+       $(MAKE) $(MFLAGS) clean
        cd ..\src
        $(MAKE) $(MFLAGS) bootstrap
        $(MAKE) $(MFLAGS) bootstrap-clean
        cd ..\lisp
        $(MAKE) $(MFLAGS) bootstrap
+       cd ..\lib-src
+       $(MAKE) $(MFLAGS) DOC
        cd ..\nt
 
 bootstrap-gmake:
        $(MAKE) $(MFLAGS) -C ../lisp bootstrap-clean
        $(MAKE) $(MFLAGS) -C ../src clean
-       $(MAKE) $(MFLAGS) -C ../lib-src clean DOC
+       $(MAKE) $(MFLAGS) -C ../lib-src clean
        $(MAKE) $(MFLAGS) -C ../src bootstrap
        $(MAKE) $(MFLAGS) -C ../src bootstrap-clean
        $(MAKE) $(MFLAGS) -C ../lisp bootstrap
+       $(MAKE) $(MFLAGS) -C ../lib-src DOC
 
 bootstrap-clean: bootstrap-clean-$(MAKETYPE)
 




reply via email to

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