more make clean fixes
This commit is contained in:
parent
8752271910
commit
00382775a9
1 changed files with 2 additions and 1 deletions
|
@ -501,7 +501,8 @@ elif HELP_REQUESTED:
|
||||||
|
|
||||||
# need no-op for clean on fresh checkout
|
# need no-op for clean on fresh checkout
|
||||||
# https://github.com/mapnik/mapnik/issues/2112
|
# https://github.com/mapnik/mapnik/issues/2112
|
||||||
if not os.path.exists(SCONS_LOCAL_LOG) and ('-c' in command_line_args or '--clean' in command_line_args):
|
if not os.path.exists(SCONS_LOCAL_LOG) and not os.path.exists(SCONS_CONFIGURE_CACHE) \
|
||||||
|
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"'
|
print 'all good: nothing to clean, but you might want to run "make distclean"'
|
||||||
Exit(0)
|
Exit(0)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue