[tasque/xbuild] [xbuild] Move po dirs definition into initial target



commit 6a18d226978a2aa53e2e9a7783009a101dbc0ea7
Author: Antonius Riha <antoniusriha gmail com>
Date:   Wed Oct 3 20:34:07 2012 +0200

    [xbuild] Move po dirs definition into initial target
    
    those depend on other properties definied in the same target

 build/X.Common.targets |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/build/X.Common.targets b/build/X.Common.targets
index 1a6dba2..ce1301d 100644
--- a/build/X.Common.targets
+++ b/build/X.Common.targets
@@ -30,6 +30,14 @@
       <Output TaskParameter="Value" PropertyName="SrcDir" />
     </CreateProperty>
     
+    <!-- po dirs: Assume it's <top_level>/po -->
+    <CreateProperty Condition=" '$(PoBuildDir)' == '' " Value="$(TopBuildDir)\po">
+      <Output TaskParameter="Value" PropertyName="PoBuildDir" />
+    </CreateProperty>
+    <CreateProperty Condition=" '$(PoSrcDir)' == '' " Value="$(TopSrcDir)\po">
+      <Output TaskParameter="Value" PropertyName="PoSrcDir" />
+    </CreateProperty>
+    
     <!-- Debug output -->
     <Message Text="AbsTopBuildDir=$(AbsTopBuildDir)" />
     <Message Text="AbsTopSrcDir=$(AbsTopSrcDir)" />
@@ -63,10 +71,6 @@
     <AbsBuildDir>$(MSBuildProjectDirectory)</AbsBuildDir>
     <BuildDir>.</BuildDir>
     
-    <!-- po dirs: Assume it's <top_level>/po -->
-    <PoBuildDir Condition=" '$(PoBuildDir)' == '' ">$(TopBuildDir)\po</PoBuildDir>
-    <PoSrcDir Condition=" '$(PoSrcDir)' == '' ">$(TopSrcDir)\po</PoSrcDir>
-    
     <!-- Output paths for build and install -->
     <OutputPath>.</OutputPath>
     <!-- Prefix defaults to <top_level>/build/bin -->



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]