make: also delete hg.exe when cleaning
This will be needed for the next patch, which has more details. It has to come
before the call into setup.py because even `python setup.py clean` calls hg to
generate the version file.
Differential Revision: https://phab.mercurial-scm.org/D8037
--- a/Makefile Thu Jan 23 15:44:30 2020 -0800
+++ b/Makefile Tue Jan 28 22:35:08 2020 -0500
@@ -64,6 +64,7 @@
$(MAKE) -C doc
cleanbutpackages:
+ rm -f hg.exe
-$(PYTHON) setup.py clean --all # ignore errors from this command
find contrib doc hgext hgext3rd i18n mercurial tests hgdemandimport \
\( -name '*.py[cdo]' -o -name '*.so' \) -exec rm -f '{}' ';'