; ChangeLog.3 fixes
[emacs.git] / test / manual / indent / Makefile
blob09cf4a2b77c2e3ad7155d1cbf3b0d3cdaf328994
1 RM=rm
2 EMACS=../../../src/emacs
4 all: clean $(addsuffix .test,$(wildcard *.*))
6 clean:
7 -$(RM) -f *.new
9 # TODO:
10 # - mark the places where the indentation is known to be incorrect,
11 # and allow either ignoring those errors or not.
12 %.test: %
13 $(EMACS) --batch $< \
14 --eval '(indent-region (point-min) (point-max) nil)' \
15 --eval '(write-region (point-min) (point-max) "$<.new")'
16 diff -u -B $< $<.new