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:
Carl Worth 2011-06-28 11:42:29 -07:00
parent 51b7ab6968
commit e5dafc9051

View file

@ -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)