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

login
register
about
Submitter David Edmondson
Date 2010-02-17 14:04:11
Message ID <1266415452-25108-1-git-send-email-dme@dme.org>
Download mbox | patch
Permalink /patch/377/
State New
Headers show

Comments

David Edmondson - 2010-02-17 14:04:11
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

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 $@) ; \