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

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" />