]> git.eshelyaron.com Git - emacs.git/commitdiff
Generate leim-list via lisp/Makefile, not src/Makefile
authorGlenn Morris <rgm@gnu.org>
Tue, 25 Apr 2017 23:30:31 +0000 (19:30 -0400)
committerGlenn Morris <rgm@gnu.org>
Tue, 25 Apr 2017 23:30:31 +0000 (19:30 -0400)
* 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.

lisp/Makefile.in
src/Makefile.in

index e13734a503532bb4d5316b53f93a83f771d3705c..0cb07b2d35adc290aed1250619a1bd5dc0fd1bbb 100644 (file)
@@ -184,6 +184,9 @@ $(lisp)/finder-inf.el:
 # that all input files are generated before we create loaddefs.
 # Otherwise making loaddefs again will change the output.
 #
+# In fact, now we rely on this target to create leim-list.
+# In src, emacs depends directly on loaddefs.el (not leim-list).
+#
 # Write to a temporary file in case we're doing a parallel build and a
 # CANNOT_DUMP-mode Emacs needs to read loaddefs at startup.
 #
@@ -196,7 +199,7 @@ $(lisp)/finder-inf.el:
 # slow; starting from an almost-correct content will enable the "only
 # update where necessary" feature of batch-update-autoloads.
 autoloads .PHONY: $(lisp)/loaddefs.el
-$(lisp)/loaddefs.el: $(LOADDEFS)
+$(lisp)/loaddefs.el: gen-lisp $(LOADDEFS)
        @echo Directories for loaddefs: ${SUBDIRS_ALMOST}
        @if test -f $@ ; then cp $@ $(lisp)/loaddefs.tmp ; fi
        $(AM_V_GEN)$(emacs) -l autoload \
index 0b0d1768b5c943fafb70fed53257e9dfe7e0cd4d..20f6ecad113f773730824eefdc93a030c4a959cb 100644 (file)
@@ -494,9 +494,6 @@ LIBES = $(LIBS) $(W32_LIBS) $(LIBS_GNUSTEP) $(LIBX_BASE) $(LIBIMAGE) \
    $(LIBGNUTLS_LIBS) $(LIB_PTHREAD) $(GETADDRINFO_A_LIBS) \
    $(NOTIFY_LIBS) $(LIB_MATH) $(LIBZ) $(LIBMODULES) $(LIBSYSTEMD_LIBS)
 
-$(leimdir)/leim-list.el: bootstrap-emacs$(EXEEXT)
-       $(MAKE) -C ../leim all EMACS="$(bootstrap_exe)"
-
 ## FORCE it so that admin/unidata can decide whether these files
 ## are up-to-date.  Although since charprop depends on bootstrap-emacs,
 ## and emacs (which recreates bootstrap-emacs) depends on charprop,
@@ -531,7 +528,7 @@ ${lispintdir}/characters.elc: ${charscript:.el=.elc}
 ## since not all pieces are used on all platforms.  But DOC depends
 ## on all of $lisp, and emacs depends on DOC, so it is ok to use $lisp here.
 emacs$(EXEEXT): temacs$(EXEEXT) \
-                lisp.mk $(etc)/DOC $(lisp) $(leimdir)/leim-list.el \
+                lisp.mk $(etc)/DOC $(lisp) \
                 $(lispsource)/international/charprop.el ${charsets}
 ifeq ($(CANNOT_DUMP),yes)
        ln -f temacs$(EXEEXT) $@