Delete the respack-generated files on Clean

This commit is contained in:
Thomas Goyne 2012-12-17 14:52:45 -08:00
parent a2c14e9c5f
commit 36012c3302
1 changed files with 9 additions and 0 deletions

View File

@ -68,6 +68,15 @@
</ItemGroup> </ItemGroup>
</Target> </Target>
<Target
Name="ResPackClean"
BeforeTargets="Clean"
DependsOnTargets="PrepareForBuild"
Condition="'@(ResPack)' != ''"
>
<Delete Files="%(ResPack.OutputDir)%(ResPack.OutputName);%(ResPack.OutputDir)%(ResPack.OutputHeader)" />
</Target>
<ItemGroup> <ItemGroup>
<PropertyPageSchema Include="$(MSBuildThisFileDirectory)Aegisub.ResPack.ProjectItems.xml" /> <PropertyPageSchema Include="$(MSBuildThisFileDirectory)Aegisub.ResPack.ProjectItems.xml" />
<PropertyPageSchema Include="$(MSBuildThisFileDirectory)Aegisub.ResPack.xml" /> <PropertyPageSchema Include="$(MSBuildThisFileDirectory)Aegisub.ResPack.xml" />