# HG changeset patch # User Matt Harbison # Date 1580268908 18000 # Node ID 64e104ca555eae25f681cf77a53678cbd1b48284 # Parent fa9ad1da2e774decc37bf50135c3e1c32ed3566a 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 diff -r fa9ad1da2e77 -r 64e104ca555e Makefile --- 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 '{}' ';'