]> git.notmuchmail.org Git - notmuch/blobdiff - Makefile.local
Makefile: Add the emacs directory to load-path when compiling
[notmuch] / Makefile.local
index 1b8e222f268eddc709b7fb56031fc167575241b8..c3fc7c5ca14e67953b7526485bccdb14b51740a6 100644 (file)
@@ -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 $@) ; \