]> code.delx.au - gnu-emacs/blob - test/manual/indent/Makefile
Merge from origin/emacs-25
[gnu-emacs] / test / manual / indent / Makefile
1 RM=rm
2 EMACS=../../src/emacs
3
4 all: clean $(addsuffix .test,$(wildcard *.*))
5
6 clean:
7 -$(RM) -f *.new
8
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