diff options
Diffstat (limited to 'lisp/Makefile.in')
| -rw-r--r-- | lisp/Makefile.in | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/lisp/Makefile.in b/lisp/Makefile.in index 01dbc563bc0..593dcc7fc3f 100644 --- a/lisp/Makefile.in +++ b/lisp/Makefile.in | |||
| @@ -215,21 +215,19 @@ $(lisp)/progmodes/cc-mode.elc: \ | |||
| 215 | 215 | ||
| 216 | # Prepare a bootstrap in the lisp subdirectory. | 216 | # Prepare a bootstrap in the lisp subdirectory. |
| 217 | # | 217 | # |
| 218 | # Build loaddefs.el, because it's not sure it's up-to-date, and if it's not, | 218 | # Build loaddefs.el to make sure it's up-to-date. If it's not, that |
| 219 | # that might lead to errors during the bootstrap because something fails to | 219 | # might lead to errors during the bootstrap because something fails to |
| 220 | # autoload as expected. However, if there is no emacs binary, then we can't | 220 | # autoload as expected. If there is no emacs binary, then we can't |
| 221 | # build autoloads yet, so just make sure there's some loaddefs.el file, as | 221 | # build autoloads yet. In that case we have to use ldefs-boot.el; |
| 222 | # it's necessary for generating the binary (because loaddefs.el is an | 222 | # bootstrap should always work with ldefs-boot.el. (Because |
| 223 | # automatically generated file, we don't want to store it in the source | 223 | # loaddefs.el is an automatically generated file, we don't want to |
| 224 | # repository). | 224 | # store it in the source repository). |
| 225 | 225 | ||
| 226 | bootstrap-prepare: | 226 | bootstrap-prepare: |
| 227 | if test -x $(EMACS); then \ | 227 | if test -x $(EMACS); then \ |
| 228 | $(MAKE) $(MFLAGS) autoloads; \ | 228 | $(MAKE) $(MFLAGS) autoloads; \ |
| 229 | else \ | 229 | else \ |
| 230 | if test ! -r $(lisp)/loaddefs.el; then \ | 230 | cp $(lisp)/ldefs-boot.el $(lisp)/loaddefs.el; \ |
| 231 | cp $(lisp)/ldefs-boot.el $(lisp)/loaddefs.el; \ | ||
| 232 | fi \ | ||
| 233 | fi | 231 | fi |
| 234 | 232 | ||
| 235 | maintainer-clean: distclean | 233 | maintainer-clean: distclean |