mail[Wesnoth-commits] r27482 - /trunk/SConstruct


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by loonycyborg on June 24, 2008 - 18:16:
Author: loonycyborg
Date: Tue Jun 24 18:02:23 2008
New Revision: 27482

URL: http://svn.gna.org/viewcvs/wesnoth?rev=27482&view=rev
Log:
Fixed passing paths with destdir joined in -DWESNOTH_PATH etc.

Modified:
    trunk/SConstruct

Modified: trunk/SConstruct
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/SConstruct?rev=27482&r1=27481&r2=27482&view=diff
==============================================================================
--- trunk/SConstruct (original)
+++ trunk/SConstruct Tue Jun 24 18:02:23 2008
@@ -263,9 +263,6 @@
 for d in installdirs:
     env[d] = os.path.join(env["prefix"], env[d])
 
-for d in installdirs:
-    env[d] = os.path.join("/", env["destdir"], env[d].lstrip("/"))
-
 test_env = env.Clone()
 if boost_test_dyn_link:
     test_env.Append(CPPDEFINES = "BOOST_TEST_DYN_LINK")
@@ -345,6 +342,8 @@
 # and doc files.
 #
 
+for d in installdirs:
+    env[d] = os.path.join("/", env["destdir"], env[d].lstrip("/"))
 bindir = env['bindir']
 pythonlib = env['python_site_packages_dir']
 datadir = env['datadir']




Related Messages


Powered by MHonArc, Updated Tue Jun 24 18:42:18 2008