From 7b1566db8a2ba682d9e2b7a83a1d8793f92295f3 Mon Sep 17 00:00:00 2001 From: David Edmondson Date: Thu, 1 Apr 2010 11:38:30 +0100 Subject: [PATCH] Makefile: Add the emacs directory to load-path when compiling Reviewed-by: Carl Worth : 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. --- Makefile.local | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.local b/Makefile.local index 1b8e222f..c3fc7c5c 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 $@) ; \