summaryrefslogtreecommitdiffstats
path: root/win/CS/build.xml
diff options
context:
space:
mode:
authorsr55 <[email protected]>2012-03-25 19:07:39 +0000
committersr55 <[email protected]>2012-03-25 19:07:39 +0000
commit45760f6e6982a1e4a56ba26a77a2adfe0a9327dd (patch)
tree9f2f23edfccde8cba73a186f4733f569f57efac2 /win/CS/build.xml
parent479f2a8da44ee1237acdf187892e0bf2e77c5663 (diff)
WinGui: Fix build scripts.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4543 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/build.xml')
-rw-r--r--win/CS/build.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/win/CS/build.xml b/win/CS/build.xml
index 4fa72c4c1..872b9f202 100644
--- a/win/CS/build.xml
+++ b/win/CS/build.xml
@@ -24,11 +24,11 @@
<!-- Dependencies -->
<PropertyGroup>
- <NightlyDependsOn>BuildRelease;NightlyPostBuildEvent</NightlyDependsOn>
+ <NightlyDependsOn>PreBuild;BuildRelease;NightlyPostBuildEvent</NightlyDependsOn>
</PropertyGroup>
<PropertyGroup>
- <InstallDependsOn>BuildRelease;CreateReleasePostBuildEvent</InstallDependsOn>
+ <InstallDependsOn>PreBuild;BuildRelease;CreateReleasePostBuildEvent</InstallDependsOn>
</PropertyGroup>
@@ -47,6 +47,10 @@
</Target>
<!-- Pre Build Events -->
+ <Target Name="PreBuild">
+ <Exec Command="subwcrev.exe $(ProjectDir). $(ProjectDir)HandBrake.ApplicationServices\Properties\AssemblyInfo.cs.tmpl $(ProjectDir)HandBrake.ApplicationServices\Properties\AssemblyInfo.cs" />
+ </Target>
+
<!-- Post Build Events -->
<Target Name="NightlyPostBuildEvent">
<Exec Command="copy $(ProjectDir)Installer\MakeNightly.nsi $(ProjectDir)bin\$(Platform)\Release /Y" Condition="$(Platform) == 'x86'" />