Don't reimplement move-if-change badly
[emacs.git] / test / indent / Makefile
blob9e75f3dad5753d16eaeae558197e6b17cf4d37a4
1 RM=rm
2 EMACS=emacs
4 clean:
5 -$(RM) *.test
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