]> git.eshelyaron.com Git - emacs.git/commit
Fix out-of-tree build problems with loaddefs.el
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 2 Jun 2022 11:52:58 +0000 (13:52 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 2 Jun 2022 11:52:58 +0000 (13:52 +0200)
commit43b0210f83c38fb91cfcfc5a2d4a8c3131331476
treea68b4da6ff4e0682dc46fbf12305ad1b823d579a
parentc7b7c9d40f9b8f73792cf434ee3b2fdfe62af3cc
Fix out-of-tree build problems with loaddefs.el

* lisp/Makefile.in ($(lisp)/loaddefs.el): Use the new function.

* lisp/emacs-lisp/loaddefs-gen.el (loaddefs-generate): Pass in
whether to inhibit a partial build (to make the code more general).
(loaddefs-generate--emacs-batch): Add a new function specially for
the Emacs build that has the special rules needed.  (This also
fixes out-of-tree builds.)
loaddefs-generate-batch can be used in general for packages etc.
(loaddefs-generate-batch): Remove the special code for Emacs builds.
lisp/Makefile.in
lisp/emacs-lisp/loaddefs-gen.el