summaryrefslogtreecommitdiff
path: root/Makefile
blob: c56adc87b4de89fc2648081712bdee27968a3d7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
emacs ?= emacs
BEMACS = $(emacs) -batch -l targets/elpa.el

all: test

update:
	$(emacs) -batch -l targets/install-deps.el

# Use LC_ALL=C to avoid locale dependencies in the dates!
test: clean
	LC_ALL=C $(BEMACS) -l tiny-test.el -l tiny.el -f ert-run-tests-batch-and-exit

compile:
	$(emacs) -Q -batch -f batch-byte-compile tiny.el

clean:
	rm -f f.elc

.PHONY:	all test