Hi All,

Attached is an attempt at improving the scons build files so that it is
possible to build a clean svn checkout by simply typing:

scons configure

scons

Without this patch, you need:

mkdir build

before you start.

I experimented with putting the mkdir call in various places inside
SConscript, but I'm fairly sure it's too late by then, and you need it
in the SConstruct file itself, as in this patch.

Andy

Index: SConstruct
===================================================================
--- SConstruct	(revision 4102)
+++ SConstruct	(working copy)
@@ -1,5 +1,10 @@
 # -*- mode: python -*-
 
+import os, os.path
+
+if not os.path.isdir('build'):
+    os.mkdir('build')
+
 SConscript('SConscript', variant_dir='build', duplicate=0)
 
 # EOF #

_______________________________________________
Pingus-Devel mailing list
Pingus-Devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/pingus-devel

Reply via email to