Patchwork D8037: make: also delete hg.exe when cleaning

login
register
mail settings
Submitter phabricator
Date Jan. 29, 2020, 5:28 a.m.
Message ID <differential-rev-PHID-DREV-csxhnljz6trtjqs5owou-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/44734/
State Superseded
Headers show

Comments

phabricator - Jan. 29, 2020, 5:28 a.m.
mharbison72 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  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.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D8037

AFFECTED FILES
  Makefile

CHANGE DETAILS




To: mharbison72, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -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 '{}' ';'