fix make clean - refs #2112
This commit is contained in:
parent
e2ea6e487d
commit
a54f621d98
1 changed files with 2 additions and 2 deletions
|
@ -496,8 +496,8 @@ elif HELP_REQUESTED:
|
|||
|
||||
# need no-op for clean on fresh checkout
|
||||
# https://github.com/mapnik/mapnik/issues/2112
|
||||
if ('-c' in command_line_args) or ('--clean' in command_line_args) and not os.path.exists(SCONS_CONFIGURE_CACHE):
|
||||
print 'all good: nothing to clean'
|
||||
if not os.path.exists(SCONS_LOCAL_LOG) and ('-c' in command_line_args or '--clean' in command_line_args):
|
||||
print 'all good: nothing to clean, but you might want to run "make distclean"'
|
||||
Exit(0)
|
||||
|
||||
# initially populate environment with defaults and any possible custom arguments
|
||||
|
|
Loading…
Add table
Reference in a new issue