Website: add template and basic stylesheet with menu. Update buildhtml.py (and theref...
[docutils.git] / sandbox / gitpull / web_stylesheet_and_menu / tools / editors / emacs / tests / Makefile
blob7ce3332610048cfbf69d3d08160445fc3adc9625
1 #!/usr/bin/env make
3 EMACS = /usr/bin/emacs
4 ERT = ~/lib/emacs/ert
5 RST_EL = ../rst.el
7 EMACS_ERT_PFX = $(EMACS) --batch --quick --directory=$(ERT) --load=ert.el
8 EMACS_ERT_SFX = --funcall=ert-run-tests-batch-and-exit
10 ERT_TESTS := $(filter-out ert-%,$(wildcard *.el))
12 EMACS_COMPILE_PFX = $(EMACS) --batch --quick --eval '(progn \
13 (setq byte-compile-error-on-warn t) \
14 (kill-emacs (if (byte-compile-file
15 EMACS_COMPILE_SFX = ) 0 1)))'
17 all: compile tests
19 tests:
20 $(EMACS_ERT_PFX) $(addprefix -l ,$(ERT_TESTS)) $(EMACS_ERT_SFX)
22 compile:
23 $(EMACS_COMPILE_PFX) "$(RST_EL)" $(EMACS_COMPILE_SFX)
25 clean: