From: Steve Dower Date: Sat, 10 Sep 2016 01:38:10 +0000 (-0700) Subject: Issue #27566: Fix clean target in freeze makefile (patch by Lisa Roach) X-Git-Tag: v2.7.13rc1~138 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d6004b4b3ba46a59093887e55b2df5722b2f6c36;p=python Issue #27566: Fix clean target in freeze makefile (patch by Lisa Roach) --- diff --git a/Misc/NEWS b/Misc/NEWS index f6acbeacc2..e6820c9dd5 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -170,6 +170,8 @@ Tests Build ----- +- Issue #27566: Fix clean target in freeze makefile (patch by Lisa Roach) + - Issue #27983: Cause lack of llvm-profdata tool when using clang as required for PGO linking to be a configure time error rather than make time when --with-optimizations is enabled. Also improve our diff --git a/Tools/freeze/winmakemakefile.py b/Tools/freeze/winmakemakefile.py index 1950d6badb..fce7ac6f12 100644 --- a/Tools/freeze/winmakemakefile.py +++ b/Tools/freeze/winmakemakefile.py @@ -143,5 +143,5 @@ def realwork(vars, moddefns, target): print "<<" print print "clean:" - print "\t-rm -f *.obj" - print "\t-rm -f $(target).exe" + print "\t-del /f *.obj" + print "\t-del /f $(target).exe"