[tasque/windows] [xbuild] Exclude some Linux specific stuff from Windows build



commit 31364497e634abef84f8fa286d86a33f0b3404c6
Author: Antonius Riha <antoniusriha gmail com>
Date:   Thu Sep 20 20:08:45 2012 +0200

    [xbuild] Exclude some Linux specific stuff from Windows build

 build/Tasque.targets |    2 +-
 data/data.mdproj     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/build/Tasque.targets b/build/Tasque.targets
index 6a71c02..41ab721 100644
--- a/build/Tasque.targets
+++ b/build/Tasque.targets
@@ -308,7 +308,7 @@
     <Exec Command="$(UpdateIconCache) -f -t $(PkgHiColorDir)" IgnoreExitCode="true" />
   </Target>
   
-  <Target Name="_FixPermissions">
+  <Target Name="_FixPermissions" Condition=" '$(OS)' != 'Windows_NT' ">
     <Exec Condition=" Exists('$(DestDir)%(InstallFile.InstallPath)\%(InstallFileName)') And !'%(Executable)' "
         Command="chmod a-x $(DestDir)%(InstallPath)\%(InstallFileName)" />
   </Target>
diff --git a/data/data.mdproj b/data/data.mdproj
index 8533dee..b5b802f 100644
--- a/data/data.mdproj
+++ b/data/data.mdproj
@@ -150,7 +150,7 @@
     <PkgSound Include="sounds\notify.wav" />
   </ItemGroup>
   <ItemGroup>
-    <Translate Include="tasque.desktop.in" />
+    <Translate Condition=" '$(Configuration)' == 'Linux' " Include="tasque.desktop.in" />
   </ItemGroup>
   <ItemGroup>
     <Substitute Include="org.gnome.Tasque.service.in" />



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