File: Makefile

package info (click to toggle)
popup-el 0.5.3-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 232 kB
  • sloc: lisp: 1,902; makefile: 28
file content (28 lines) | stat: -rw-r--r-- 626 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
EMACS ?= emacs
CASK ?= cask
EMACS23=emacs23

ELPA_DIR = \
	.cask/$(shell $(EMACS) -Q --batch --eval '(princ emacs-version)')/elpa

.PHONY: test test-nw test-emacs23 test-emacs23-nw travis-ci

test:
	$(CASK) exec $(EMACS) -Q -L . -l tests/run-test.el

test-nw:
	$(CASK) exec $(EMACS) -Q -nw -L . -l tests/run-test.el

test-emacs23: tests/ert.el
	${EMACS23} -Q -L . -l test/ert.el -l tests/run-test.el

test-emacs23-nw: tests/ert.el
	$(EMACS23) -Q -nw -L . -l test/ert.el -l tests/run-test.el

travis-ci: elpa
	$(CASK) exec $(EMACS) -batch -Q -l tests/run-test.el

elpa: $(ELPA_DIR)
$(ELPA_DIR): Cask
	$(CASK) install
	touch $@