summaryrefslogtreecommitdiff
path: root/packages/sml-mode/makefile.pkg
blob: 47ea4ed25cd602bda104592f55eb480c84a66e44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
PACKAGE = sml-mode
ELFILES	= sml-mode.el

default: elcfiles

TESTCASE = testcases.sml

test:
	$(RM) $(TESTCASE).new
	$(EMACS) --batch \
	    --eval "(load \"$$(pwd)/sml-mode-startup\")" \
	    $(TESTCASE) \
	    --eval '(indent-region (point-min) (point-max) nil)' \
	    --eval '(write-region (point-min) (point-max) "$(TESTCASE).new")'
	diff -u -B $(TESTCASE) $(TESTCASE).new