Change the default rule name from 'it' to 'all'.

This is a departure from how djb seems to have it set up, but I just like it
better.  It's more like the reasonably-common Makefile standard.  (Although
what make *actually* does is just use the first target declared in the
file.)
This commit is contained in:
Avery Pennarun 2010-11-13 01:40:37 -08:00
commit edd8382a52
5 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
it:
all:
%: FORCE
./redo $@

View file

@ -11,7 +11,7 @@ v,verbose print commands as they are run
o = options.Options('redo', optspec)
(opt, flags, extra) = o.parse(sys.argv[1:])
targets = extra or ['it']
targets = extra or ['all']
if opt.debug:
os.environ['REDO_DEBUG'] = '1'

View file

@ -1,5 +1,5 @@
. wvtest.sh
redo t/it
redo t/all
WVSTART "t/runtests"
WVPASS redo t/runtests

View file

@ -1,2 +1,2 @@
redo-ifchange it
redo-ifchange all
./hello >&2

View file

@ -1,4 +1,4 @@
redo-ifchange t/it
redo-ifchange t/all
wvtestrun redo runtests >&2