summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edmondson <dme@dme.org>2010-04-01 11:38:30 +0100
committerCarl Worth <cworth@cworth.org>2010-04-03 12:11:55 -0700
commit7b1566db8a2ba682d9e2b7a83a1d8793f92295f3 (patch)
treef98fe603b549fffbcadd720d74ddbeecdb99c184
parent44df403ccd2fa637dfa543f749a949454245b182 (diff)
Makefile: Add the emacs directory to load-path when compiling
Reviewed-by: Carl Worth <cworth@cworth.org>: Presumably, this is to enable proper building in the very near-term future where the emacs implementation consists of multiple files where some will `require' functions from others.
-rw-r--r--Makefile.local2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.local b/Makefile.local
index 1b8e222..c3fc7c5 100644
--- a/Makefile.local
+++ b/Makefile.local
@@ -78,7 +78,7 @@ quiet_symlink = $(call quiet_args,SYMLINK,$1)
$(call quiet,CC,$(CFLAGS)) -c $(FINAL_CFLAGS) $< -o $@
%.elc: %.el
- $(call quiet,EMACS) -batch -f batch-byte-compile $<
+ $(call quiet,EMACS) --directory emacs -batch -f batch-byte-compile $<
.deps/%.d: %.c $(global_deps)
@set -e; rm -f $@; mkdir -p $$(dirname $@) ; \