From: g0dil Date: Fri, 18 Sep 2009 09:17:42 +0000 (+0000) Subject: Fix scons -c all SCons error (after everything is done) X-Git-Url: http://g0dil.de/git?p=senf.git;a=commitdiff_plain;h=0878c9c641a857eed4387332b3e24b1ee911e334 Fix scons -c all SCons error (after everything is done) git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1422 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/SConstruct b/SConstruct index b9cd5c5..dd029f1 100644 --- a/SConstruct +++ b/SConstruct @@ -195,6 +195,9 @@ if env.GetOption('clean'): for path, subdirs, files in os.walk('.') for pattern in env['CLEAN_PATTERNS'] for f in fnmatch.filter(files,pattern) ]) + if 'all' in BUILD_TARGETS: + import SCons.SConsign + SCons.SConsign.write = lambda : None if not env.GetOption('clean') and not os.path.exists(".prepare-stamp"): Execute(Touch(".prepare-stamp"))