branch: elpa/tablist
commit 389730ef0a01e73358d24a37f40fd9db01917f6c
Author: Andreas Politz <[email protected]>
Commit: Andreas Politz <[email protected]>
Add byte-compile target
---
Makefile | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 91e6b00..55cb555 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,19 @@
+EMACS ?= emacs
+# Handle the mess when inside Emacs.
+unexport INSIDE_EMACS #cask not like this.
+ifeq ($(EMACS), t)
+EMACS = emacs
+endif
+
+emacs = $(EMACS)
all: package
+byte-compile:
+ cask exec $(emacs) --batch -L lisp -f batch-byte-compile *.el
+
package:
cask package
clean:
rm -rf dist
rm -f -- *.elc
-