]> code.delx.au - gnu-emacs-elpa/blob - Makefile
Make a new release
[gnu-emacs-elpa] / Makefile
1 # -*- Makefile -*-
2
3 EMACS = emacs
4
5 # Compile with noninteractive and relatively clean environment.
6 BATCHFLAGS = -batch -q --no-site-file
7
8 SRCS = js2-mode.el js2-imenu-extras.el
9
10 OBJS = $(SRCS:.el=.elc)
11
12 %.elc: %.el
13 ${EMACS} $(BATCHFLAGS) -L . -f batch-byte-compile $^
14
15 all: $(OBJS)
16
17 clean:
18 -rm -f $(OBJS)
19
20 test:
21 ${EMACS} $(BATCHFLAGS) -L . -l js2-mode.el -l js2-old-indent.el -l tests/parser.el\
22 -l tests/indent.el -l tests/externs.el -l tests/json-path.el \
23 -l tests/navigation.el -f ert-run-tests-batch-and-exit