summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-09-26 11:11:51 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-09-26 15:55:42 (GMT)
commitbbe1d048955fb9e03769a92387b83389ac3fd781 (patch)
tree34ba7f4c6a1e2c05283970affa2dc939726f24da /SConstruct
parent60e4ab9985c04acd399265d793d250a1b24e3412 (diff)
downloadswift-bbe1d048955fb9e03769a92387b83389ac3fd781.zip
swift-bbe1d048955fb9e03769a92387b83389ac3fd781.tar.bz2
Added debian packaging script.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 4 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index bbb0aca..1a737ed 100644
--- a/SConstruct
+++ b/SConstruct
@@ -94,6 +94,10 @@ if env["PLATFORM"] == "win32" :
if env["PLATFORM"] == "darwin" :
env.Append(FRAMEWORKS = "AppKit")
+# Packaging
+if ARGUMENTS.get("SWIFT_INSTALLDIR", "") :
+ env["SWIFT_INSTALLDIR"] = Dir(ARGUMENTS["SWIFT_INSTALLDIR"]).abspath
+
conf_env = env.Clone()
Export("env")