summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2011-11-05 19:23:48 (GMT)
committerPetri Lehtinen <petri@digip.org>2011-11-05 19:24:45 (GMT)
commit6ab96e41bd917784e6cf60bd0204a84996ddfa0f (patch)
tree32d4a19469ed50fc25c0ff882dc3f36e2c4f47da /Makefile.pre.in
parent03b081938954a333fb5473977ee8d22e9699bc5b (diff)
parentbc74ee039c83e00b815b37dca81d115b7291e151 (diff)
downloadcpython-6ab96e41bd917784e6cf60bd0204a84996ddfa0f.zip
cpython-6ab96e41bd917784e6cf60bd0204a84996ddfa0f.tar.gz
cpython-6ab96e41bd917784e6cf60bd0204a84996ddfa0f.tar.bz2
Remove __pycache__ directories correctly on OpenBSD
Closes #13326.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 5c30eb3..896a08e 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1285,8 +1285,8 @@ TAGS::
# Sanitation targets -- clean leaves libraries, executables and tags
# files, which clobber removes as well
pycremoval:
+ -find $(srcdir) -depth -name '__pycache__' -exec rm -rf {} ';'
-find $(srcdir) -name '*.py[co]' -exec rm -f {} ';'
- -find $(srcdir) -name '__pycache__' -exec rmdir {} '+'
rmtestturds:
-rm -f *BAD *GOOD *SKIPPED