mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(bootstrap-prepare): Don't use an old loaddefs.el.
This commit is contained in:
parent
3a1524ed89
commit
f586d18e58
2 changed files with 10 additions and 10 deletions
|
|
@ -1,5 +1,7 @@
|
|||
2005-06-12 Lute Kamstra <lute@gnu.org>
|
||||
|
||||
* Makefile.in (bootstrap-prepare): Don't use an old loaddefs.el.
|
||||
|
||||
* man.el (Man-mode-map): Initialize it properly.
|
||||
(Man-mode): Set mode-class property to special.
|
||||
|
||||
|
|
|
|||
|
|
@ -215,21 +215,19 @@ $(lisp)/progmodes/cc-mode.elc: \
|
|||
|
||||
# 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue