view test/indent/Makefile @ 109096:43b10f3ac90c

* window.c (Fwindow_absolute_pixel_edges): Doc fix.
author Jan D <jan.h.d@swipnet.se>
date Thu, 01 Jul 2010 20:09:28 +0200
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