emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/lua-mode c69e150 112/468: Makefile: add compile target


From: Philip Kaludercic
Subject: [nongnu] elpa/lua-mode c69e150 112/468: Makefile: add compile target
Date: Thu, 5 Aug 2021 04:58:18 -0400 (EDT)

branch: elpa/lua-mode
commit c69e15030f86a7a67bf3633ae9c6541ba24db737
Author: immerrr <immerrr+lua@gmail.com>
Commit: immerrr <immerrr+lua@gmail.com>

    Makefile: add compile target
---
 Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Makefile b/Makefile
index a5f9de7..c40db93 100644
--- a/Makefile
+++ b/Makefile
@@ -3,9 +3,15 @@
 VERSION="$(shell sed -nre '/^;; Version:/ { s/^;; Version:[ \t]+//; p }' 
lua-mode.el)"
 DISTFILE = lua-mode-$(VERSION).zip
 
+# EMACS value may be overridden
+EMACS?=emacs
+
 default:
        @echo version is $(VERSION)
 
+compile:
+       $(EMACS) --batch --no-site-file -f batch-byte-compile lua-mode.el
+
 dist:
        rm -f $(DISTFILE) && \
        git archive --format=zip -o $(DISTFILE) --prefix=lua-mode/ HEAD



reply via email to

[Prev in Thread] Current Thread [Next in Thread]