Skip to content

Commit

Permalink
Add byte-compile target
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Politz committed Jan 29, 2019
1 parent af87031 commit 389730e
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 389730e

Please sign in to comment.