summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2015-07-05 14:24:47 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2015-07-05 14:24:47 (GMT)
commit32f64d03e4ad30399bc4e95cc5ac301d4ee9db2a (patch)
tree53e430b9b95b25bb82509c2218954e0237bad223 /Tools
parent3e7f3c032f68d6be5b8f3501ca7c4124394f3a6c (diff)
parentd423396394c49a339b78f2026a1fdab42a1cffb0 (diff)
downloadcpython-32f64d03e4ad30399bc4e95cc5ac301d4ee9db2a.zip
cpython-32f64d03e4ad30399bc4e95cc5ac301d4ee9db2a.tar.gz
cpython-32f64d03e4ad30399bc4e95cc5ac301d4ee9db2a.tar.bz2
Fixes rebuild of strings for Windows installer.
Diffstat (limited to 'Tools')
-rw-r--r--Tools/msi/msi.targets2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/msi/msi.targets b/Tools/msi/msi.targets
index 34b8747..2431dc2 100644
--- a/Tools/msi/msi.targets
+++ b/Tools/msi/msi.targets
@@ -24,7 +24,7 @@
</ItemGroup>
</Target>
- <Target Name="_TransformWxlTemplates" AfterTargets="PrepareForBuild">
+ <Target Name="_TransformWxlTemplates" AfterTargets="PrepareForBuild" Inputs="@(WxlTemplate);$(PySourcePath)include\patchlevel.h" Outputs="$(IntermediateOutputPath)%(Filename).wxl">
<PropertyGroup>
<_Content>$([System.IO.File]::ReadAllText(%(WxlTemplate.FullPath)).Replace(`{{ShortVersion}}`, `$(MajorVersionNumber).$(MinorVersionNumber)`).Replace(`{{LongVersion}}`, `$(PythonVersion)`).Replace(`{{Bitness}}`, `$(Bitness)`))</_Content>
<_ExistingContent Condition="Exists('$(IntermediateOutputPath)%(WxlTemplate.Filename).wxl')">$([System.IO.File]::ReadAllText($(IntermediateOutputPath)%(WxlTemplate.Filename).wxl))</_ExistingContent>