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        <DocHtmlPath>$(PySourcePath)Doc\build\html\</DocHtmlPath>
14        <DocHtmlPath Condition="!HasTrailingSlash($(DocHtmlPath))">$(DocHtmlPath)\</DocHtmlPath>
15    </PropertyGroup>
16    <ItemGroup>
17        <LinkerBindInputPaths Include="$(DocHtmlPath)">
18            <BindName>doc_html</BindName>
19        </LinkerBindInputPaths>
20        <Compile Include="doc.wxs" />
21    </ItemGroup>
22    <ItemGroup>
23        <WxlTemplate Include="*.wxl_template" />
24    </ItemGroup>
25    <ItemGroup>
26        <InstallFiles Include="$(DocHtmlPath)**\*"
27                      Exclude="$(DocHtmlPath)_sources\**\*">
28            <SourceBase>$(DocHtmlPath)</SourceBase>
29            <Source>!(bindpath.doc_html)</Source>
30            <TargetBase>$(DocHtmlPath)..\</TargetBase>
31            <Target_>Doc_</Target_>
32            <Group>doc_html</Group>
33        </InstallFiles>
34    </ItemGroup>
35
36    <Import Project="..\msi.targets" />
37</Project>