Commit b6a979dd authored by Christian Heimes's avatar Christian Heimes

Fix make distclean for out-of-tree builds

parent 3b8516cb
...@@ -1413,8 +1413,8 @@ clobber: clean profile-removal ...@@ -1413,8 +1413,8 @@ clobber: clean profile-removal
# remove all generated files, even Makefile[.pre] # remove all generated files, even Makefile[.pre]
# Keep configure and Python-ast.[ch], it's possible they can't be generated # Keep configure and Python-ast.[ch], it's possible they can't be generated
distclean: clobber distclean: clobber
for file in Lib/test/data/* ; do \ for file in $(srcdir)/Lib/test/data/* ; do \
if test "$$file" != "Lib/test/data/README"; then rm "$$file"; fi; \ if test "$$file" != "$(srcdir)/Lib/test/data/README"; then rm "$$file"; fi; \
done done
-rm -f core Makefile Makefile.pre config.status \ -rm -f core Makefile Makefile.pre config.status \
Modules/Setup Modules/Setup.local Modules/Setup.config \ Modules/Setup Modules/Setup.local Modules/Setup.config \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment