Patchwork [1,of,5,RFC] make: drop rule to clean and ignore pure modules from local installation

login
register
mail settings
Submitter Yuya Nishihara
Date Aug. 13, 2016, 10:15 a.m.
Message ID <d2a9c2f4bd5e617a8eca.1471083323@mimosa>
Download mbox | patch
Permalink /patch/16268/
State Changes Requested
Headers show

Comments

Yuya Nishihara - Aug. 13, 2016, 10:15 a.m.
# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# Date 1470969402 -32400
#      Fri Aug 12 11:36:42 2016 +0900
# Node ID d2a9c2f4bd5e617a8ecac2a8c0294e69edc92304
# Parent  f2241c13d5a1100f44278496fe58c05d364b97f8
make: drop rule to clean and ignore pure modules from local installation

Pure modules are no longer copied to mercurial/ thanks to 511a4384b033.

Patch

diff --git a/.hgignore b/.hgignore
--- a/.hgignore
+++ b/.hgignore
@@ -53,14 +53,6 @@  i18n/hg.pot
 locale/*/LC_MESSAGES/hg.mo
 hgext/__index__.py
 
-# files installed with a local --pure build
-mercurial/base85.py
-mercurial/bdiff.py
-mercurial/diffhelpers.py
-mercurial/mpatch.py
-mercurial/osutil.py
-mercurial/parsers.py
-
 syntax: regexp
 ^\.pc/
 ^\.(pydev)?project
diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -64,7 +64,6 @@  cleanbutpackages:
 	-$(PYTHON) setup.py clean --all # ignore errors from this command
 	find contrib doc hgext hgext3rd i18n mercurial tests \
 		\( -name '*.py[cdo]' -o -name '*.so' \) -exec rm -f '{}' ';'
-	rm -f $(addprefix mercurial/,$(notdir $(wildcard mercurial/pure/[a-z]*.py)))
 	rm -f MANIFEST MANIFEST.in hgext/__index__.py tests/*.err
 	rm -f mercurial/__modulepolicy__.py
 	if test -d .hg; then rm -f mercurial/__version__.py; fi