From: Paul Sokolovsky Date: Thu, 16 Jun 2011 21:13:22 +0000 (+0300) Subject: Make build directories under build/ subdir. X-Git-Tag: 0.1~1358^2 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=c35de9ba77f0deffb7694dd9231fe7a328b1e809;p=fdroidserver.git Make build directories under build/ subdir. Otherwise, top-level dir gets very crowded. --- diff --git a/build.py b/build.py index 8621fc06..0e6169b6 100755 --- a/build.py +++ b/build.py @@ -56,6 +56,9 @@ if options.clean: if not os.path.exists(built_dir): os.mkdir(built_dir) +if not os.path.isdir('build'): + os.makedirs('build') + for app in apps: if app['disabled']: @@ -69,7 +72,7 @@ for app in apps: print "Processing " + app['id'] - build_dir = 'build_' + app['id'] + build_dir = 'build/' + app['id'] got_source = False