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

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

Date: Wed, 17 Feb 2010 14:04:11 +0000

To: notmuch@notmuchmail.org

Cc:

From: David Edmondson


---
 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


Thread: