-
-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathMakefile
More file actions
22 lines (17 loc) · 534 Bytes
/
Makefile
File metadata and controls
22 lines (17 loc) · 534 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
EMACS ?= emacs
.PHONY: all
all: clean autoloads compile test
.PHONY: clean
clean:
@echo "Removed: " *.elc elpaca-autoloads.el
@rm -f *.elc elpaca-autoloads.el
.PHONY: compile
compile: *.el
$(EMACS) -Q --batch -L . -f batch-byte-compile *.el
.PHONY: test
test: elpaca.elc
$(EMACS) -Q --batch -L . -l ert -l ./test/elpaca-tests.el \
--eval "(let ((ert-quiet t)) (ert-run-tests-batch-and-exit))"
.PHONY: autoloads
autoloads:
$(EMACS) -Q -L . -l elpaca --batch --eval '(elpaca-generate-autoloads "elpaca" default-directory)'