diff lisp/Makefile.in @ 63338:9f31ece48b49

(bootstrap-prepare): Don't use an old loaddefs.el.
author Lute Kamstra <lute@gnu.org>
date Sun, 12 Jun 2005 10:25:31 +0000
parents 2864a2154c8d
children 6fb026ad601f e58cb448e07c a1b34dec1104
line wrap: on
line diff
--- a/lisp/Makefile.in	Sun Jun 12 10:11:00 2005 +0000
+++ b/lisp/Makefile.in	Sun Jun 12 10:25:31 2005 +0000
@@ -215,21 +215,19 @@
 
 # Prepare a bootstrap in the lisp subdirectory.
 #
-# Build loaddefs.el, because it's not sure it's up-to-date, and if it's not,
-# that might lead to errors during the bootstrap because something fails to
-# autoload as expected.  However, if there is no emacs binary, then we can't
-# build autoloads yet, so just make sure there's some loaddefs.el file, as
-# it's necessary for generating the binary (because loaddefs.el is an
-# automatically generated file, we don't want to store it in the source
-# repository).
+# 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.  (Because
+# loaddefs.el is an automatically generated file, we don't want to
+# store it in the source repository).
 
 bootstrap-prepare:
 	if test -x $(EMACS); then				\
 	  $(MAKE) $(MFLAGS) autoloads;				\
 	else							\
-	  if test ! -r $(lisp)/loaddefs.el; then		\
-	    cp $(lisp)/ldefs-boot.el $(lisp)/loaddefs.el;	\
-	  fi							\
+	  cp $(lisp)/ldefs-boot.el $(lisp)/loaddefs.el;		\
 	fi
 
 maintainer-clean: distclean