summaryrefslogtreecommitdiff
blob: 7d286a7c10975d39e6342ba028208d886605b016 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- yafray.old/SConstruct	2006-06-20 19:24:00.000000000 +0200
+++ yafray/SConstruct	2006-07-20 14:53:59.000000000 +0200
@@ -3,6 +3,7 @@
 import configio
 import globalinfo
 
+destdir=ARGUMENTS.get('destdir','')
 prefix=ARGUMENTS.get('prefix','/usr/local')
 
 ficheros = {
@@ -36,10 +37,10 @@
 			
 class config:
 	cxxflags   = confer.get_cxxflags(A)
-	libpath    = confer.get_libpath(A)
-	pluginpath = confer.get_pluginpath(A)
-	binpath    = confer.get_binpath(A)
-	confpath   = confer.get_confpath(A)
+	libpath    = destdir + confer.get_libpath(A)
+	pluginpath = destdir + confer.get_pluginpath(A)
+	binpath    = destdir + confer.get_binpath(A)
+	confpath   = destdir + confer.get_confpath(A)
 	rootpath   = Dir('.').srcnode().abspath
 
 for name,val in confer.__dict__.items():