]> git.eshelyaron.com Git - emacs.git/commitdiff
Ensure that loaddefs-gen.elc is build before loaddefs.el is generated
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 1 Jun 2022 12:55:31 +0000 (14:55 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 1 Jun 2022 12:55:37 +0000 (14:55 +0200)
* lisp/Makefile.in ($(lisp)/loaddefs.el): Make loaddefs.el depend
on loaddefs-gen.elc to ensure that it's built.

lisp/Makefile.in

index f1ca92ab9a103b2c4201ca553b890c6991f493bc..0156b53ac6708a5144a4a56f983311af548eedba 100644 (file)
@@ -198,7 +198,7 @@ org-manuals: main-first
 # loaddefs-generate-batch.
 
 autoloads .PHONY: $(lisp)/loaddefs.el
-$(lisp)/loaddefs.el: gen-lisp $(LOADDEFS)
+$(lisp)/loaddefs.el: gen-lisp $(LOADDEFS) $(lisp)/emacs-lisp/loaddefs-gen.elc
        $(AM_V_GEN)$(emacs) \
             -l $(lisp)/emacs-lisp/loaddefs-gen.elc \
            -f loaddefs-generate-batch $(lisp)/loaddefs.el ${SUBDIRS_ALMOST}