aboutsummaryrefslogtreecommitdiffhomepage
path: root/emacs/Makefile.local
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2011-06-28 11:42:29 -0700
committerGravatar Carl Worth <cworth@cworth.org>2011-06-28 11:59:48 -0700
commite5dafc90517e08f34bdc3a265a1e605068e63db2 (patch)
tree23bc7f5069d9024e1c3a1792cd2fe5030f49c690 /emacs/Makefile.local
parent51b7ab69687cf815e0e01f5f87d2cbf49ac41ec3 (diff)
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.
Diffstat (limited to 'emacs/Makefile.local')
-rw-r--r--emacs/Makefile.local2
1 files changed, 1 insertions, 1 deletions
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)