@Jens :
don't do pre-build commands during a clean. Agreed. :-)
But I would say don't do post build commands during a clean ??
And have this behavior also when it's the regular CB build system (so not makefiles).
I bumped into such an issue when cleaning my unit test project/target. It's post build is to run the unit test (pretty simple : $exe_output. But in a clean it then complains that the exe can not be found ;-)
I stumbled over this issue also some weeks ago, but I forgot it :oops: .
I think it slipped in, because the changes are a mix of a patch from a user and my changes, but I don't use C::B for real programming at the moment (only as editor for html and asp-scripts).
I will fix it and commit a change (most likely this evening).