diff options
author | Christian Heimes <christian@cheimes.de> | 2013-11-24 02:32:51 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2013-11-24 02:32:51 (GMT) |
commit | 1969e01ae5b2016a6b17b8809fa4854721280933 (patch) | |
tree | 48ae9c263c0f5cda66cde67a6be944d72b0b9c5f /Makefile.pre.in | |
parent | 1631b9b4b56323a0a85f1df6239058f6d2a40a13 (diff) | |
parent | f8471862d6514714790f4b9a0a51f3b7673de20c (diff) | |
download | cpython-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.in | 4 |
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 \ |