emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r108900: Move a comment from lisp/Mak


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r108900: Move a comment from lisp/Makefile.in to lisp/loadup.el.
Date: Fri, 06 Jul 2012 00:23:25 -0700
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 108900
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Fri 2012-07-06 00:23:25 -0700
message:
  Move a comment from lisp/Makefile.in to lisp/loadup.el.
  The comment in Makefile.in has been orphaned ever since
  the bootstrap-prepare rule was removed in 2008.
modified:
  lisp/Makefile.in
  lisp/loadup.el
=== modified file 'lisp/Makefile.in'
--- a/lisp/Makefile.in  2012-07-06 07:08:10 +0000
+++ b/lisp/Makefile.in  2012-07-06 07:23:25 +0000
@@ -414,19 +414,6 @@
           --eval "(setq make-backup-files nil)" \
           -f batch-update-autoloads $(CAL_DIR)
 
-# Prepare a bootstrap in the lisp subdirectory.
-#
-# Build loaddefs.el to make sure it's up-to-date.  If it's not, that
-# might lead to errors during the bootstrap because something fails to
-# autoload as expected.  If there is no emacs binary, then we can't
-# build autoloads yet.  In that case we have to use ldefs-boot.el.
-# Bootstrap should always work with ldefs-boot.el.  Therefore,
-# whenever a new autoload cookie gets added that is necessary during
-# bootstrapping, ldefs-boot.el should be updated by overwriting it with
-# an up-to-date copy of loaddefs.el that is uncorrupted by
-# local changes.  (Because loaddefs.el is an automatically generated
-# file, we don't want to store it in the source repository).
-
 bootstrap-clean:
        cd $(lisp); rm -f *.elc */*.elc */*/*.elc */*/*/*.elc $(AUTOGENEL)
 

=== modified file 'lisp/loadup.el'
--- a/lisp/loadup.el    2012-07-02 08:00:05 +0000
+++ b/lisp/loadup.el    2012-07-06 07:23:25 +0000
@@ -108,6 +108,17 @@
 (load "button")
 (load "startup")
 
+;; We don't want to store loaddefs.el in the repository because it is
+;; a generated file; but it is required in order to compile the lisp files.
+;; When bootstrapping, we cannot generate loaddefs.el until an
+;; emacs binary has been built.  We therefore compromise and keep
+;; ldefs-boot.el in the repository.  This does not need to be updated
+;; as often as the real loaddefs.el would.  Bootstrap should always
+;; work with ldefs-boot.el.  Therefore, Whenever a new autoload cookie
+;; gets added that is necessary during bootstrapping, ldefs-boot.el
+;; should be updated by overwriting it with an up-to-date copy of
+;; loaddefs.el that is uncorrupted by local changes.
+;; autogen/update_autogen can be used to periodically update ldefs-boot.
 (condition-case nil
     ;; Don't get confused if someone compiled this by mistake.
     (load "loaddefs.el")


reply via email to

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