Ignore output of failed delete command when the specified files are not present.

This commit is contained in:
the_fiddler 2010-10-04 23:03:09 +00:00
parent 0bbc524cbe
commit 08da770c7d

View file

@ -35,8 +35,8 @@
<FilesToDelete Include=".\opentk.exe;..\..\opentk-1.0.*.exe" />
</ItemGroup>
<Delete Files="@(FilesToDelete)" Condition="'$(OS)' == 'Windows_NT'" />
<Exec Command="rm .\opentk.exe" Condition="'$(OS)' != 'Windows_NT'" />
<Exec Command="rm ..\..\opentk-1.0.*.exe" Condition="'$(OS)' != 'Windows_NT'" />
<Exec Command="rm -f .\opentk.exe" Condition="'$(OS)' != 'Windows_NT'" />
<Exec Command="rm -f ..\..\opentk-1.0.*.exe" Condition="'$(OS)' != 'Windows_NT'" />
</Target>
<Target Name="Rebuild">
<CallTarget Targets="Clean" />