[tasque/xbuild] [xbuild] Adjust Gtk.Tasque.csproj to new base proj file
- From: Antonius Riha <antoniusri src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tasque/xbuild] [xbuild] Adjust Gtk.Tasque.csproj to new base proj file
- Date: Tue, 18 Sep 2012 14:47:37 +0000 (UTC)
commit b2d2171c48c4667e1b841b919ccc52177b3724bb
Author: Antonius Riha <antoniusriha gmail com>
Date: Tue Sep 18 15:59:01 2012 +0200
[xbuild] Adjust Gtk.Tasque.csproj to new base proj file
* Defines.cs.in is now a Substitute item
* Drop obsolete targets
src/Gtk.Tasque/Gtk.Tasque.csproj | 20 ++++++--------------
1 files changed, 6 insertions(+), 14 deletions(-)
---
diff --git a/src/Gtk.Tasque/Gtk.Tasque.csproj b/src/Gtk.Tasque/Gtk.Tasque.csproj
index 12776b5..8bddf9f 100644
--- a/src/Gtk.Tasque/Gtk.Tasque.csproj
+++ b/src/Gtk.Tasque/Gtk.Tasque.csproj
@@ -118,23 +118,15 @@
<TasqueCompile Include="Utilities.cs" />
<TasqueCompile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
- <ItemGroup>
- <DistFile Include="Defines.cs.in" />
- </ItemGroup>
- <ItemGroup>
- <Folder Include="Properties\" />
- </ItemGroup>
<ItemGroup Condition=" '$(Configuration)' == 'LinuxDebug' Or '$(Configuration)' == 'LinuxRelease' ">
<Compile Include="Defines.cs" />
<TasqueCompile Include="RemoteControl.cs" />
<TasqueCompile Include="RemoteControlProxy.cs" />
</ItemGroup>
- <Target Name="BeforeBeforeBuild" Condition=" '$(Configuration)' == 'LinuxDebug' Or '$(Configuration)' == 'LinuxRelease' ">
- <Exec Command="sed -e %22s|%5C%40version%5C%40|$(Version)|%22 -e %22s|%5C%40datadir%5C%40|$(DataDir)|%22 < $(SrcDir)\Defines.cs.in > Defines.cs" />
- </Target>
- <Target Name="BeforeClean">
- <CreateItem Include="Defines.cs">
- <Output TaskParameter="Include" ItemName="TasqueCleanFile" />
- </CreateItem>
- </Target>
+ <ItemGroup>
+ <Substitute Include="Defines.cs.in" />
+ </ItemGroup>
+ <ItemGroup>
+ <Folder Include="Properties\" />
+ </ItemGroup>
</Project>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]