From: Lars Ingebrigtsen Date: Sun, 7 Aug 2022 12:02:42 +0000 (+0200) Subject: Tweak autoloads lisp/Makefile.in dependencies X-Git-Tag: emacs-29.0.90~1447^2~345 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c8833ba365b8476271b64fbd985d1cf7b1a9ad02;p=emacs.git Tweak autoloads lisp/Makefile.in dependencies * lisp/Makefile.in (autoloads): Adjust the dependencies to what they were before, and update the comments. --- diff --git a/lisp/Makefile.in b/lisp/Makefile.in index 14582611fde..ff70401f5b9 100644 --- a/lisp/Makefile.in +++ b/lisp/Makefile.in @@ -171,10 +171,11 @@ org-manuals: main-first ## Comments on loaddefs generation: -# In ../src, the emacs target depends on loaddefs but not on eg leim-list. -# So having leim as a dependency of loaddefs (via gen-lisp) ensures leim-list -# gets created before the final emacs is dumped. Having leim -# dependencies in ../src as well would create a parallel race condition. +# loaddefs depends on gen-lisp because in ../src, the emacs target +# depends on loaddefs but not on eg leim-list. So having leim as a +# dependency of loaddefs (via gen-lisp) ensures leim-list gets created +# before the final emacs is dumped. Having leim dependencies in +# ../src as well would create a parallel race condition. # # FIXME: Is the following true any more? # @@ -190,7 +191,7 @@ org-manuals: main-first # "all" dependency. "leim" isn't really a dependency here, but we # need leim-list.el at about the same time, so ensure that it's # generated, too. -autoloads: $(lisp)/emacs-lisp/loaddefs-gen.elc leim +autoloads: $(lisp)/emacs-lisp/loaddefs-gen.elc gen-lisp $(AM_V_GEN)$(emacs) \ -l $(lisp)/emacs-lisp/loaddefs-gen.elc \ -f loaddefs-generate--emacs-batch ${SUBDIRS_ALMOST}