From: Carl Worth Date: Tue, 28 Jun 2011 18:42:29 +0000 (-0700) Subject: Makefile: Make emacs compilation depend on global dependencies. X-Git-Tag: 0.7_rc1~56 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=e5dafc90517e08f34bdc3a265a1e605068e63db2;hp=51b7ab69687cf815e0e01f5f87d2cbf49ac41ec3 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. --- diff --git a/emacs/Makefile.local b/emacs/Makefile.local index 10227777..ce0c3f00 100644 --- a/emacs/Makefile.local +++ b/emacs/Makefile.local @@ -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)