]> granicus.if.org Git - python/commitdiff
When writing the Windows Makefile, don't forget to strip some filenames
authorGuido van Rossum <guido@python.org>
Sat, 7 Mar 1998 04:08:04 +0000 (04:08 +0000)
committerGuido van Rossum <guido@python.org>
Sat, 7 Mar 1998 04:08:04 +0000 (04:08 +0000)
of their output directory prefix.

Tools/freeze/freeze.py

index c0b5e54d98362020af1158b7ea8eb988995a0bec..3b58243b242c05ec49006605aaf083eec7684736 100755 (executable)
@@ -287,8 +287,9 @@ def main():
         try:
             winmakemakefile.makemakefile(outfp,
                                          locals(),
-                                         [frozenmain_c, frozen_c],
-                                         target)
+                                         [frozenmain_c,
+                                          os.path.basename(frozen_c)],
+                                         os.path.basename(target))
         finally:
             outfp.close()
         return