diff options
Diffstat (limited to 'test/manual/indent/Makefile')
-rw-r--r-- | test/manual/indent/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/manual/indent/Makefile b/test/manual/indent/Makefile new file mode 100644 index 00000000000..83162681d72 --- /dev/null +++ b/test/manual/indent/Makefile @@ -0,0 +1,16 @@ +RM=rm +EMACS=../../src/emacs + +all: clean $(addsuffix .test,$(wildcard *.*)) + +clean: + -$(RM) -f *.new + +# TODO: +# - mark the places where the indentation is known to be incorrect, +# and allow either ignoring those errors or not. +%.test: % + $(EMACS) --batch $< \ + --eval '(indent-region (point-min) (point-max) nil)' \ + --eval '(write-region (point-min) (point-max) "$<.new")' + diff -u -B $< $<.new |