[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/gnat-compiler f1493ed944 2/3: Fix byte-compile
From: |
Stephen Leake |
Subject: |
[elpa] externals/gnat-compiler f1493ed944 2/3: Fix byte-compile |
Date: |
Wed, 16 Nov 2022 10:23:01 -0500 (EST) |
branch: externals/gnat-compiler
commit f1493ed944e4ef89b3f1f6455bb61d036710b2e7
Author: Stephen Leake <stephen_leake@stephe-leake.org>
Commit: Stephen Leake <stephen_leake@stephe-leake.org>
Fix byte-compile
* ELPA.make (WISI): New.
(byte-compile): Do WISI as well.
---
.gitignore | 1 +
ELPA.make | 7 +++++++
2 files changed, 8 insertions(+)
diff --git a/.gitignore b/.gitignore
index 9850d0ff11..8420881ab3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
autoloads.el
autoloads.el~
+*.elc
diff --git a/ELPA.make b/ELPA.make
index fe7fa41572..b0953e309f 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 :