changeset 44201:64e104ca555e

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
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 28 Jan 2020 22:35:08 -0500
parents fa9ad1da2e77
children a7f8160cc4e4
files Makefile
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 '{}' ';'