diff options
| author | Glenn Morris | 2017-04-25 19:30:31 -0400 |
|---|---|---|
| committer | Glenn Morris | 2017-04-25 19:30:31 -0400 |
| commit | ea8605ae84a14a0da55b55bff0e2ca8728d18efa (patch) | |
| tree | 380896f634886f9ef6d23f3397ae57c13d08d16a | |
| parent | f0424b131583e92939d2c3591e3c2f56d8e547aa (diff) | |
| download | emacs-ea8605ae84a14a0da55b55bff0e2ca8728d18efa.tar.gz emacs-ea8605ae84a14a0da55b55bff0e2ca8728d18efa.zip | |
Generate leim-list via lisp/Makefile, not src/Makefile
* src/Makefile.in ($(leimdir)/leim-list.el): Remove rule.
(emacs$(EXEEXT)): Don't depend on leim-list.
* lisp/Makefile.in ($(lisp)/loaddefs.el): Depend on gen-lisp again.
| -rw-r--r-- | lisp/Makefile.in | 5 | ||||
| -rw-r--r-- | src/Makefile.in | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lisp/Makefile.in b/lisp/Makefile.in index e13734a5035..0cb07b2d35a 100644 --- a/lisp/Makefile.in +++ b/lisp/Makefile.in | |||
| @@ -184,6 +184,9 @@ $(lisp)/finder-inf.el: | |||
| 184 | # that all input files are generated before we create loaddefs. | 184 | # that all input files are generated before we create loaddefs. |
| 185 | # Otherwise making loaddefs again will change the output. | 185 | # Otherwise making loaddefs again will change the output. |
| 186 | # | 186 | # |
| 187 | # In fact, now we rely on this target to create leim-list. | ||
| 188 | # In src, emacs depends directly on loaddefs.el (not leim-list). | ||
| 189 | # | ||
| 187 | # Write to a temporary file in case we're doing a parallel build and a | 190 | # Write to a temporary file in case we're doing a parallel build and a |
| 188 | # CANNOT_DUMP-mode Emacs needs to read loaddefs at startup. | 191 | # CANNOT_DUMP-mode Emacs needs to read loaddefs at startup. |
| 189 | # | 192 | # |
| @@ -196,7 +199,7 @@ $(lisp)/finder-inf.el: | |||
| 196 | # slow; starting from an almost-correct content will enable the "only | 199 | # slow; starting from an almost-correct content will enable the "only |
| 197 | # update where necessary" feature of batch-update-autoloads. | 200 | # update where necessary" feature of batch-update-autoloads. |
| 198 | autoloads .PHONY: $(lisp)/loaddefs.el | 201 | autoloads .PHONY: $(lisp)/loaddefs.el |
| 199 | $(lisp)/loaddefs.el: $(LOADDEFS) | 202 | $(lisp)/loaddefs.el: gen-lisp $(LOADDEFS) |
| 200 | @echo Directories for loaddefs: ${SUBDIRS_ALMOST} | 203 | @echo Directories for loaddefs: ${SUBDIRS_ALMOST} |
| 201 | @if test -f $@ ; then cp $@ $(lisp)/loaddefs.tmp ; fi | 204 | @if test -f $@ ; then cp $@ $(lisp)/loaddefs.tmp ; fi |
| 202 | $(AM_V_GEN)$(emacs) -l autoload \ | 205 | $(AM_V_GEN)$(emacs) -l autoload \ |
diff --git a/src/Makefile.in b/src/Makefile.in index 0b0d1768b5c..20f6ecad113 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -494,9 +494,6 @@ LIBES = $(LIBS) $(W32_LIBS) $(LIBS_GNUSTEP) $(LIBX_BASE) $(LIBIMAGE) \ | |||
| 494 | $(LIBGNUTLS_LIBS) $(LIB_PTHREAD) $(GETADDRINFO_A_LIBS) \ | 494 | $(LIBGNUTLS_LIBS) $(LIB_PTHREAD) $(GETADDRINFO_A_LIBS) \ |
| 495 | $(NOTIFY_LIBS) $(LIB_MATH) $(LIBZ) $(LIBMODULES) $(LIBSYSTEMD_LIBS) | 495 | $(NOTIFY_LIBS) $(LIB_MATH) $(LIBZ) $(LIBMODULES) $(LIBSYSTEMD_LIBS) |
| 496 | 496 | ||
| 497 | $(leimdir)/leim-list.el: bootstrap-emacs$(EXEEXT) | ||
| 498 | $(MAKE) -C ../leim all EMACS="$(bootstrap_exe)" | ||
| 499 | |||
| 500 | ## FORCE it so that admin/unidata can decide whether these files | 497 | ## FORCE it so that admin/unidata can decide whether these files |
| 501 | ## are up-to-date. Although since charprop depends on bootstrap-emacs, | 498 | ## are up-to-date. Although since charprop depends on bootstrap-emacs, |
| 502 | ## and emacs (which recreates bootstrap-emacs) depends on charprop, | 499 | ## and emacs (which recreates bootstrap-emacs) depends on charprop, |
| @@ -531,7 +528,7 @@ ${lispintdir}/characters.elc: ${charscript:.el=.elc} | |||
| 531 | ## since not all pieces are used on all platforms. But DOC depends | 528 | ## since not all pieces are used on all platforms. But DOC depends |
| 532 | ## on all of $lisp, and emacs depends on DOC, so it is ok to use $lisp here. | 529 | ## on all of $lisp, and emacs depends on DOC, so it is ok to use $lisp here. |
| 533 | emacs$(EXEEXT): temacs$(EXEEXT) \ | 530 | emacs$(EXEEXT): temacs$(EXEEXT) \ |
| 534 | lisp.mk $(etc)/DOC $(lisp) $(leimdir)/leim-list.el \ | 531 | lisp.mk $(etc)/DOC $(lisp) \ |
| 535 | $(lispsource)/international/charprop.el ${charsets} | 532 | $(lispsource)/international/charprop.el ${charsets} |
| 536 | ifeq ($(CANNOT_DUMP),yes) | 533 | ifeq ($(CANNOT_DUMP),yes) |
| 537 | ln -f temacs$(EXEEXT) $@ | 534 | ln -f temacs$(EXEEXT) $@ |