From c8833ba365b8476271b64fbd985d1cf7b1a9ad02 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sun, 7 Aug 2022 14:02:42 +0200 Subject: [PATCH] Tweak autoloads lisp/Makefile.in dependencies * lisp/Makefile.in (autoloads): Adjust the dependencies to what they were before, and update the comments. --- lisp/Makefile.in | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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} -- 2.39.2