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