From patchwork Wed Jan 29 05:28:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D8037: make: also delete hg.exe when cleaning From: phabricator X-Patchwork-Id: 44734 Message-Id: To: Phabricator Cc: mercurial-devel@mercurial-scm.org Date: Wed, 29 Jan 2020 05:28:59 +0000 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 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 '{}' ';'