summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2015-07-05 14:24:17 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2015-07-05 14:24:17 (GMT)
commitd423396394c49a339b78f2026a1fdab42a1cffb0 (patch)
tree697478d58bb4750d7fa351e13b3a19fb1b60fe5c /Tools
parenta111271ba7303dff9d52badfb5554807ea7d9f56 (diff)
downloadcpython-d423396394c49a339b78f2026a1fdab42a1cffb0.zip
cpython-d423396394c49a339b78f2026a1fdab42a1cffb0.tar.gz
cpython-d423396394c49a339b78f2026a1fdab42a1cffb0.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>