]> code.delx.au - gnu-emacs-elpa/blob - Makefile
Reorganize files.
[gnu-emacs-elpa] / Makefile
1 EMACS = emacs
2 CASK = EMACS=${EMACS} cask
3 DEPENDENCIES = .cask/
4
5 all: uncompile compile test
6
7 bench: ${DEPENDENCIES}
8 ${CASK} exec ${EMACS} -Q \
9 -L . \
10 -l context-coloring \
11 -l context-coloring-benchmark \
12 -f context-coloring-benchmark-run
13
14 compile: ${DEPENDENCIES}
15 ${CASK} exec ${EMACS} -Q -batch \
16 -L . \
17 -f batch-byte-compile *.el
18
19 uncompile:
20 rm -f *.elc
21
22 clean: uncompile
23 rm -rf ${DEPENDENCIES}
24
25 ${DEPENDENCIES}:
26 ${CASK}
27
28 test: ${DEPENDENCIES}
29 ${CASK} exec ${EMACS} -Q -batch \
30 -L . \
31 -l ert \
32 -l context-coloring-coverage \
33 -f context-coloring-coverage-ci-init \
34 -l context-coloring-test \
35 -f ert-run-tests-batch-and-exit
36
37 cover: ${DEPENDENCIES}
38 ${CASK} exec ${EMACS} -Q -batch \
39 -L . \
40 -l ert \
41 -l context-coloring-coverage \
42 -f context-coloring-coverage-local-init \
43 -l context-coloring-test \
44 -f ert-run-tests-batch-and-exit
45
46 .PHONY: all bench compile uncompile clean test cover