summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Leake <stephen_leake@stephe-leake.org>2022-11-05 14:32:18 -0700
committerStephen Leake <stephen_leake@stephe-leake.org>2022-11-05 14:32:18 -0700
commitf1493ed944e4ef89b3f1f6455bb61d036710b2e7 (patch)
tree903cbf5d9241fab355fe900d3c53d50423553a19
parent97d26c0f18b0c8633e5f28badfc84bb6858c0f8e (diff)
Fix byte-compilework/gnat-compiler
* ELPA.make (WISI): New. (byte-compile): Do WISI as well.
-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 :