mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-25 19:04:53 +01:00
Makefile: Make emacs compilation depend on global dependencies.
We call these "global_deps" for a reason, after all! Without this, emacs compilation would proceed even if the configure script failed, (such as for a missing dependency). That's undesirable as it can cause the helpful error messages from the configure failure to scroll away.
This commit is contained in:
parent
51b7ab6968
commit
e5dafc9051
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ emacs_images := \
|
|||
|
||||
emacs_bytecode = $(emacs_sources:.el=.elc)
|
||||
|
||||
%.elc: %.el
|
||||
%.elc: %.el $(global_deps)
|
||||
$(call quiet,EMACS) --directory emacs -batch -f batch-byte-compile $<
|
||||
|
||||
ifeq ($(WITH_EMACS),1)
|
||||
|
|
Loading…
Reference in a new issue