view test/indent/Makefile @ 110976:c62e42a9ebc4

calc-alg.el (math-var): Renamed from `var'. (math-is-polynomial, math-is-poly-rec): Replace `var' with `math-var'. calcalg2.el (math-var): Renamed from `var'. (calcFunc-table, math-scan-for-limits): Replace `var' with `math-var'.
author Jay Belanger <jay.p.belanger@gmail.com>
date Wed, 13 Oct 2010 22:14:38 -0500
parents 6939db1ee97b
children
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) $<.new
	$(EMACS) --batch $< \
	    --eval '(indent-region (point-min) (point-max) nil)' \
	    --eval '(write-region (point-min) (point-max) "$<.new")'
	diff -u -B $< $<.new