annotate test/indent/Makefile @ 112307:161cf5d0fd8b

* mktime.c: Remove; moving to ../lib.
author Paul Eggert <eggert@cs.ucla.edu>
date Sat, 08 Jan 2011 20:33:54 -0800
parents 6939db1ee97b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
108864
f241d9fe71fe * lisp/emacs-lisp/smie.el (smie-indent-calculate): Simplify and cleanup.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff changeset
1 RM=rm
f241d9fe71fe * lisp/emacs-lisp/smie.el (smie-indent-calculate): Simplify and cleanup.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff changeset
2 EMACS=emacs
f241d9fe71fe * lisp/emacs-lisp/smie.el (smie-indent-calculate): Simplify and cleanup.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff changeset
3
f241d9fe71fe * lisp/emacs-lisp/smie.el (smie-indent-calculate): Simplify and cleanup.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff changeset
4 clean:
f241d9fe71fe * lisp/emacs-lisp/smie.el (smie-indent-calculate): Simplify and cleanup.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff changeset
5 -$(RM) *.test
f241d9fe71fe * lisp/emacs-lisp/smie.el (smie-indent-calculate): Simplify and cleanup.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff changeset
6
f241d9fe71fe * lisp/emacs-lisp/smie.el (smie-indent-calculate): Simplify and cleanup.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff changeset
7 # TODO:
f241d9fe71fe * lisp/emacs-lisp/smie.el (smie-indent-calculate): Simplify and cleanup.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff changeset
8 # - mark the places where the indentation is known to be incorrect,
f241d9fe71fe * lisp/emacs-lisp/smie.el (smie-indent-calculate): Simplify and cleanup.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff changeset
9 # and allow either ignoring those errors or not.
f241d9fe71fe * lisp/emacs-lisp/smie.el (smie-indent-calculate): Simplify and cleanup.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff changeset
10 %.test: %
110038
6939db1ee97b Use SMIE for octave-mode.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 108864
diff changeset
11 -$(RM) $<.new
108864
f241d9fe71fe * lisp/emacs-lisp/smie.el (smie-indent-calculate): Simplify and cleanup.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff changeset
12 $(EMACS) --batch $< \
f241d9fe71fe * lisp/emacs-lisp/smie.el (smie-indent-calculate): Simplify and cleanup.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff changeset
13 --eval '(indent-region (point-min) (point-max) nil)' \
110038
6939db1ee97b Use SMIE for octave-mode.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 108864
diff changeset
14 --eval '(write-region (point-min) (point-max) "$<.new")'
6939db1ee97b Use SMIE for octave-mode.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 108864
diff changeset
15 diff -u -B $< $<.new