summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-11-24 02:32:51 (GMT)
committerChristian Heimes <christian@cheimes.de>2013-11-24 02:32:51 (GMT)
commit1969e01ae5b2016a6b17b8809fa4854721280933 (patch)
tree48ae9c263c0f5cda66cde67a6be944d72b0b9c5f /Makefile.pre.in
parent1631b9b4b56323a0a85f1df6239058f6d2a40a13 (diff)
parentf8471862d6514714790f4b9a0a51f3b7673de20c (diff)
downloadcpython-1969e01ae5b2016a6b17b8809fa4854721280933.zip
cpython-1969e01ae5b2016a6b17b8809fa4854721280933.tar.gz
cpython-1969e01ae5b2016a6b17b8809fa4854721280933.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 bed702e..f843aa5 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1533,8 +1533,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 \