From 00382775a90c550e5a538dedf4aff2d9e02f1718 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Mon, 29 Sep 2014 21:20:01 -0700 Subject: [PATCH] more make clean fixes --- SConstruct | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 1e3d74e4e..ab8a8ac8f 100644 --- a/SConstruct +++ b/SConstruct @@ -501,7 +501,8 @@ elif HELP_REQUESTED: # need no-op for clean on fresh checkout # 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"' Exit(0)