]> code.delx.au - gnu-emacs/blob - test/indent/Makefile
Fix EDE security flaw involving loading arbitrary Lisp from Project.ede.
[gnu-emacs] / test / indent / Makefile
1 RM=rm
2 EMACS=emacs
3
4 clean:
5 -$(RM) *.test
6
7 # TODO:
8 # - mark the places where the indentation is known to be incorrect,
9 # and allow either ignoring those errors or not.
10 %.test: %
11 -$(RM) $<.new
12 $(EMACS) --batch $< \
13 --eval '(indent-region (point-min) (point-max) nil)' \
14 --eval '(write-region (point-min) (point-max) "$<.new")'
15 diff -u -B $< $<.new