Steve Dower | bb24087 | 2015-02-05 22:08:48 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 3 | <PropertyGroup> |
| 4 | <ProjectGuid>{0D62A2BB-5F71-4447-8C8C-9708407B3674}</ProjectGuid> |
| 5 | <SchemaVersion>2.0</SchemaVersion> |
| 6 | <OutputName>doc</OutputName> |
| 7 | <OutputType>Package</OutputType> |
| 8 | <!-- Shortcut validation is not necessary --> |
| 9 | <SuppressICEs>ICE43</SuppressICEs> |
| 10 | </PropertyGroup> |
| 11 | <Import Project="..\msi.props" /> |
| 12 | <PropertyGroup> |
| 13 | <DocFilename>python$(MajorVersionNumber)$(MinorVersionNumber)$(MicroVersionNumber)$(ReleaseLevelName).chm</DocFilename> |
| 14 | <IncludeDocFile>false</IncludeDocFile> |
| 15 | <IncludeDocFile Condition="$(BuildForRelease) or Exists('$(PySourcePath)Doc\build\htmlhelp\$(DocFilename)')">true</IncludeDocFile> |
| 16 | </PropertyGroup> |
| 17 | <PropertyGroup Condition="$(IncludeDocFile)"> |
| 18 | <DefineConstants>$(DefineConstants);DocFilename=$(DocFilename);</DefineConstants> |
| 19 | </PropertyGroup> |
| 20 | <ItemGroup> |
| 21 | <Compile Include="doc.wxs" /> |
| 22 | <Compile Include="doc_files.wxs" Condition="$(IncludeDocFile)" /> |
| 23 | <Compile Include="doc_no_files.wxs" Condition="!$(IncludeDocFile)" /> |
| 24 | </ItemGroup> |
| 25 | <ItemGroup> |
| 26 | <WxlTemplate Include="*.wxl_template" /> |
| 27 | </ItemGroup> |
| 28 | |
| 29 | <Import Project="..\msi.targets" /> |
| 30 | </Project> |