mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 09:14:18 +00:00
Ensure that updated loaddefs files are byte-compiled
* lisp/Makefile.in: Add autoloads as an ordering-only dependency to compile-main so that newly updated loaddefs files are byte-compiled.
This commit is contained in:
parent
e3edbf577b
commit
9b5c54a49d
1 changed files with 5 additions and 1 deletions
|
|
@ -348,7 +348,11 @@ endif
|
|||
|
||||
# Compile all the Elisp files that need it. Beware: it approximates
|
||||
# 'no-byte-compile', so watch out for false-positives!
|
||||
compile-main: gen-lisp compile-clean main-first
|
||||
|
||||
# The "autoloads" target has to run first, because it may generate new
|
||||
# loaddefs files. But don't depend on it, because that might trigger
|
||||
# unnecessary rebuilds.
|
||||
compile-main: gen-lisp compile-clean main-first | autoloads
|
||||
@(cd $(lisp) && \
|
||||
els=`echo "${SUBDIRS_REL} " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.el |g'`; \
|
||||
for el in $$els; do \
|
||||
|
|
|
|||
Loading…
Reference in a new issue