view test/indent/Makefile @ 108869:2d46c90637c5

* admin/notes/font-backend: Remove obsolete information.
author Glenn Morris <rgm@gnu.org>
date Wed, 02 Jun 2010 22:45:20 -0700
parents f241d9fe71fe
children 6939db1ee97b
line wrap: on
line source

RM=rm
EMACS=emacs

clean:
	-$(RM) *.test

# TODO:
# - mark the places where the indentation is known to be incorrect,
#   and allow either ignoring those errors or not.
%.test: %
	-$(RM) $<.test
	$(EMACS) --batch $< \
	    --eval '(indent-region (point-min) (point-max) nil)' \
	    --eval '(write-region (point-min) (point-max) "$<.test")'
	diff -u -B $< $<.test