please don't ignore errors from rm
In Sphinx makefiles, calls to rm are perfixed with "-", meaing their exit code will be ignored. This is a bad idea: the -f option already makes rm ignore nonexistent files, and any other errors shouldn't be swept under the carpet.
The attached patch should fix the problem. (But I haven't tested it, sorry!)