summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-11-24 02:32:40 (GMT)
committerChristian Heimes <christian@cheimes.de>2013-11-24 02:32:40 (GMT)
commitf8471862d6514714790f4b9a0a51f3b7673de20c (patch)
treeaf5bc64e45ebbbc6fc8ab1cfa65b25c3487a6199 /Makefile.pre.in
parent23828f6d8e4ff915a675eb8964ce0934b680bcce (diff)
downloadcpython-f8471862d6514714790f4b9a0a51f3b7673de20c.zip
cpython-f8471862d6514714790f4b9a0a51f3b7673de20c.tar.gz
cpython-f8471862d6514714790f4b9a0a51f3b7673de20c.tar.bz2
Fix make distclean for out-of-tree builds
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 5f677c8..a6aa975 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1413,8 +1413,8 @@ clobber: clean profile-removal
# remove all generated files, even Makefile[.pre]
# Keep configure and Python-ast.[ch], it's possible they can't be generated
distclean: clobber
- for file in Lib/test/data/* ; do \
- if test "$$file" != "Lib/test/data/README"; then rm "$$file"; fi; \
+ for file in $(srcdir)/Lib/test/data/* ; do \
+ if test "$$file" != "$(srcdir)/Lib/test/data/README"; then rm "$$file"; fi; \
done
-rm -f core Makefile Makefile.pre config.status \
Modules/Setup Modules/Setup.local Modules/Setup.config \