HEX
Server: Apache
System: Linux beluga.o2switch.net 4.18.0-553.123.2.lve.el8.x86_64 #1 SMP Thu May 7 23:17:13 UTC 2026 x86_64
User: sc3naki1272 (1113)
PHP: 8.3.33
Disabled: NONE
Upload Files
File: //opt/alt/python37/share/doc/alt-python37-docutils/editors/emacs/tests/Makefile
#!/usr/bin/env make

EMACS = /usr/bin/emacs
ERT = ~/lib/emacs/ert
RST_EL = ../rst.el

EMACS_ERT_PFX = $(EMACS) --batch --quick --directory=$(ERT) --load=ert.el
EMACS_ERT_SFX = --funcall=ert-run-tests-batch-and-exit

ERT_TESTS := $(filter-out ert-%,$(wildcard *.el))

EMACS_COMPILE_PFX = $(EMACS) --batch --quick --eval '(progn		\
    (setq byte-compile-error-on-warn t)					\
    (kill-emacs (if (byte-compile-file
EMACS_COMPILE_SFX = ) 0 1)))'

all: compile tests

tests:
	$(EMACS_ERT_PFX) $(addprefix -l ,$(ERT_TESTS)) $(EMACS_ERT_SFX)

compile:
	$(EMACS_COMPILE_PFX) "$(RST_EL)" $(EMACS_COMPILE_SFX)

clean: