view test/indent/Makefile @ 109523:2fe88640ebd3

Build binary distros on Windows using emacs-VERSION as root dir name. * nt/makefile.w32-in: Copy README.W32 to installation directory during `make install'. Remove README.W32 with `distclean' (in case Emacs was installed in place). Use temporary directory to create distribution zip files in `dist' target. * nt/zipdist.bat: Simplify code using temporary directory.
author Juanma Barranquero <lekktu@gmail.com>
date Sun, 25 Jul 2010 05:53:37 +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