summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--ELPA.make7
2 files changed, 8 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 9850d0f..8420881 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
autoloads.el
autoloads.el~
+*.elc
diff --git a/ELPA.make b/ELPA.make
index fe7fa41..b0953e3 100644
--- a/ELPA.make
+++ b/ELPA.make
@@ -6,16 +6,23 @@ all : byte-compile autoloads
ifeq ($(shell uname),Linux)
EMACS_EXE ?= emacs
+WISI ?= /Projects/org.emacs.wisi
+
else ifeq ($(shell uname),Darwin)
EMACS_EXE ?= "/Applications/Emacs.app/Contents/MacOS/Emacs"
+WISI ?= /Projects/org.emacs.wisi
+
else
# windows
# specify uniscribe to workaround weird Windows harfbuzz bug
EMACS_EXE ?= emacs -xrm Emacs.fontBackend:uniscribe
+WISI ?= c:/Projects/elpa/packages/wisi
+
endif
BYTE_COMPILE := "(progn (setq byte-compile-error-on-warn t)(batch-byte-compile))"
byte-compile : byte-compile-clean
+ $(MAKE) -C $(WISI)/build byte-compile autoloads
$(EMACS_EXE) -Q -batch -L . -L $(WISI) --eval $(BYTE_COMPILE) *.el
byte-compile-clean :