[Python-checkins] cpython (2.7): Issue #27566: Fix clean target in freeze makefile (patch by Lisa Roach)

steve.dower python-checkins at python.org
Fri Sep 9 21:42:08 EDT 2016


https://hg.python.org/cpython/rev/e96eb2bd0d5e
changeset:   103528:e96eb2bd0d5e
branch:      2.7
parent:      103526:af4529e3594d
user:        Steve Dower <steve.dower at microsoft.com>
date:        Fri Sep 09 18:38:10 2016 -0700
summary:
  Issue #27566: Fix clean target in freeze makefile (patch by Lisa Roach)

files:
  Misc/NEWS                       |  2 ++
  Tools/freeze/winmakemakefile.py |  4 ++--
  2 files changed, 4 insertions(+), 2 deletions(-)


diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -170,6 +170,8 @@
 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
--- a/Tools/freeze/winmakemakefile.py
+++ b/Tools/freeze/winmakemakefile.py
@@ -143,5 +143,5 @@
     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"

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list