[Python-checkins] cpython (merge 3.5 -> default): 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/6a2d95630a7c
changeset:   103530:6a2d95630a7c
parent:      103527:2bfe63a3eb5c
parent:      103529:3ffff303df95
user:        Steve Dower <steve.dower at microsoft.com>
date:        Fri Sep 09 18:41:56 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
@@ -328,6 +328,8 @@
 Build
 -----
 
+- Issue #27566: Fix clean target in freeze makefile (patch by Lisa Roach)
+
 - Issue #27705: Update message in validate_ucrtbase.py
 
 - Issue #27976: Deprecate building _ctypes with the bundled copy of libffi on
diff --git a/Tools/freeze/winmakemakefile.py b/Tools/freeze/winmakemakefile.py
--- a/Tools/freeze/winmakemakefile.py
+++ b/Tools/freeze/winmakemakefile.py
@@ -144,5 +144,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