[notmuch] [PATCH 1/2] build: Ensure that '.' is in the emacs load-path when compiling files.

David Edmondson dme at dme.org
Wed Feb 17 06:04:11 PST 2010


---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 64b9d4a..9fcb2b9 100644
--- a/Makefile
+++ b/Makefile
@@ -60,7 +60,7 @@ quiet ?= $($1)
 	$(call quiet,CC,$(CFLAGS)) -c $(FINAL_CFLAGS) $< -o $@
 
 %.elc: %.el
-	$(call quiet,EMACS) -batch -f batch-byte-compile $<
+	$(call quiet,EMACS) -batch --directory . -f batch-byte-compile $<
 
 .deps/%.d: %.c $(all_deps)
 	@set -e; rm -f $@; mkdir -p $$(dirname $@) ; \
-- 
1.6.6.1



More information about the notmuch mailing list