7 TEST_SRCS
= $(wildcard *.text
)
8 TEST_HTML
= $(TEST_SRCS
:.text
=.html
)
13 test: compile-all checkdoc
14 $(EMACS
) -Q
--batch
$(CL
) \
15 --eval
'(setq byte-compile-warnings (quote (not cl-functions)))' \
16 -l ert
-l ..
/markdown-mode.elc
-l markdown-test.elc \
17 --eval
'(ert-run-tests-batch-and-exit $(SELECTOR))'
20 $(EMACS
) -Q
--batch
$(CL
) -l checkdoc-batch.el
2>&1 | \
21 grep
-E
"markdown-mode.el:[1-9]+" && exit
1 || exit
0
24 $(EMACS
) -Q
--batch
$(CL
) \
25 --eval
'(setq byte-compile-warnings (quote (not cl-functions)))' \
26 --eval
'(setq byte-compile-error-on-warn t)' \
27 -l ..
/markdown-mode.el \
28 -f batch-byte-compile ..
/markdown-mode.el markdown-test.el
33 rm -f
$(TEST_HTML
) *.elc ..
/*.elc
36 $(MAKE
) test EMACS
="$(shell evm bin emacs-24.1)" CL
="-l cl-lib-0.5.el"
37 $(MAKE
) test EMACS
="$(shell evm bin emacs-24.2)" CL
="-l cl-lib-0.5.el"
38 $(MAKE
) test EMACS
="$(shell evm bin emacs-24.3)" CL
=""
39 $(MAKE
) test EMACS
="$(shell evm bin emacs-24.4)" CL
=""
40 $(MAKE
) test EMACS
="$(shell evm bin emacs-24.5)" CL
=""
41 $(MAKE
) test EMACS
="$(shell evm bin emacs-25.1)" CL
=""
42 $(MAKE
) test EMACS
="$(shell evm bin emacs-25.2)" CL
=""