view test/indent/Makefile @ 109786:29d15cb50113

Save window excursion before prompting in copyright-update-* (Bug#5394). * emacs-lisp/copyright.el (copyright-update-year) (copyright-update): Use save-window-excursion (Bug#5394).
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 14 Aug 2010 19:30:51 -0400
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