# HG changeset patch # User Matt Harbison # Date 2020-01-29 03:35:08 # Node ID dd0226d07866888e97837651d8410e9dcd1a3960 # Parent 45f0d1cd562a8ff6138789eaafc915751a7248f5 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 --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -64,6 +64,7 @@ doc: $(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 '{}' ';'