Given a directory name as a target, try building dirname/all.

...if dirname/all.do exists.  This is a convenient command-line shortcut.
This commit is contained in:
Avery Pennarun 2010-11-13 01:45:16 -08:00
commit 3c42645cdf

View file

@ -121,6 +121,9 @@ if not vars.DEPTH:
retcode = 0
startdir = os.getcwd()
for t in targets:
if os.path.exists('%s/all.do' % t):
# t is a directory, but it has a default target
t = '%s/all' % t
mkdirp('%s/.redo' % vars.BASE)
os.chdir(startdir)
try: