1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 20:00:46 -08:00
emacs/test/manual/indent/Makefile
Phillip Lord a546a37fcd Restore delete Makefiles and fix .gitignore.
* .gitignore: Update Makefiles to changed locations
 * test/lisp/progmodes/flymake-resources/Makefile,
   test/manual/etags/Makefile,
   test/manual/etags/make-src/Makefile,
   test/manual/indent/Makefile: Restored and moved to new location.
2015-11-24 21:48:58 +00:00

16 lines
405 B
Makefile

RM=rm
EMACS=../../src/emacs
all: clean $(addsuffix .test,$(wildcard *.*))
clean:
-$(RM) -f *.new
# TODO:
# - mark the places where the indentation is known to be incorrect,
# and allow either ignoring those errors or not.
%.test: %
$(EMACS) --batch $< \
--eval '(indent-region (point-min) (point-max) nil)' \
--eval '(write-region (point-min) (point-max) "$<.new")'
diff -u -B $< $<.new