Fossil SCM
Add an fconfigure to disable the automatic NL to CR/NL translation that occurs in makemake.tcl on windows systems.
Commit
af6810c589e33374c4f5e400ccfd6d77844c66ce
Parent
518978f13ad389d…
1 file changed
+6
-1
+6
-1
| --- src/makemake.tcl | ||
| +++ src/makemake.tcl | ||
| @@ -121,10 +121,12 @@ | ||
| 121 | 121 | ############################################################################## |
| 122 | 122 | # Start by generating the "main.mk" makefile used for all unix systems. |
| 123 | 123 | # |
| 124 | 124 | puts "building main.mk" |
| 125 | 125 | set output_file [open main.mk w] |
| 126 | +fconfigure $output_file -translation binary | |
| 127 | + | |
| 126 | 128 | writeln {# DO NOT EDIT |
| 127 | 129 | # |
| 128 | 130 | # This file is automatically generated. Instead of editing this |
| 129 | 131 | # file, edit "makemake.tcl" then run "tclsh makemake.tcl" |
| 130 | 132 | # to regenerate this file. |
| @@ -259,10 +261,11 @@ | ||
| 259 | 261 | ############################################################################## |
| 260 | 262 | # Begin win/Makefile.mingw |
| 261 | 263 | # |
| 262 | 264 | puts "building ../win/Makefile.mingw" |
| 263 | 265 | set output_file [open ../win/Makefile.mingw w] |
| 266 | +fconfigure $output_file -translation binary | |
| 264 | 267 | |
| 265 | 268 | writeln {#!/usr/bin/make |
| 266 | 269 | # |
| 267 | 270 | # This is a makefile for us on windows using mingw. |
| 268 | 271 | # |
| @@ -465,10 +468,11 @@ | ||
| 465 | 468 | ############################################################################## |
| 466 | 469 | # Begin win/Makefile.dmc |
| 467 | 470 | # |
| 468 | 471 | puts "building ../win/Makefile.dmc" |
| 469 | 472 | set output_file [open ../win/Makefile.dmc w] |
| 473 | +fconfigure $output_file -translation binary | |
| 470 | 474 | |
| 471 | 475 | writeln {# DO NOT EDIT |
| 472 | 476 | # |
| 473 | 477 | # This file is automatically generated. Instead of editing this |
| 474 | 478 | # file, edit "makemake.tcl" then run "tclsh src/makemake.tcl" |
| @@ -596,10 +600,11 @@ | ||
| 596 | 600 | ############################################################################## |
| 597 | 601 | # Begin win/Makefile.msc |
| 598 | 602 | # |
| 599 | 603 | puts "building ../win/Makefile.msc" |
| 600 | 604 | set output_file [open ../win/Makefile.msc w] |
| 605 | +fconfigure $output_file -translation binary | |
| 601 | 606 | |
| 602 | 607 | writeln {# DO NOT EDIT |
| 603 | 608 | # |
| 604 | 609 | # This file is automatically generated. Instead of editing this |
| 605 | 610 | # file, edit "makemake.tcl" then run "tclsh src/makemake.tcl" |
| @@ -730,11 +735,11 @@ | ||
| 730 | 735 | ############################################################################## |
| 731 | 736 | # Begin win/Makefile.PellesCGMake |
| 732 | 737 | # |
| 733 | 738 | puts "building ../win/Makefile.PellesCGMake" |
| 734 | 739 | set output_file [open ../win/Makefile.PellesCGMake w] |
| 735 | - | |
| 740 | +fconfigure $output_file -translation binary | |
| 736 | 741 | |
| 737 | 742 | writeln {# DO NOT EDIT |
| 738 | 743 | # |
| 739 | 744 | # This file is automatically generated. Instead of editing this |
| 740 | 745 | # file, edit "makemake.tcl" then run "tclsh src/makemake.tcl" |
| 741 | 746 |
| --- src/makemake.tcl | |
| +++ src/makemake.tcl | |
| @@ -121,10 +121,12 @@ | |
| 121 | ############################################################################## |
| 122 | # Start by generating the "main.mk" makefile used for all unix systems. |
| 123 | # |
| 124 | puts "building main.mk" |
| 125 | set output_file [open main.mk w] |
| 126 | writeln {# DO NOT EDIT |
| 127 | # |
| 128 | # This file is automatically generated. Instead of editing this |
| 129 | # file, edit "makemake.tcl" then run "tclsh makemake.tcl" |
| 130 | # to regenerate this file. |
| @@ -259,10 +261,11 @@ | |
| 259 | ############################################################################## |
| 260 | # Begin win/Makefile.mingw |
| 261 | # |
| 262 | puts "building ../win/Makefile.mingw" |
| 263 | set output_file [open ../win/Makefile.mingw w] |
| 264 | |
| 265 | writeln {#!/usr/bin/make |
| 266 | # |
| 267 | # This is a makefile for us on windows using mingw. |
| 268 | # |
| @@ -465,10 +468,11 @@ | |
| 465 | ############################################################################## |
| 466 | # Begin win/Makefile.dmc |
| 467 | # |
| 468 | puts "building ../win/Makefile.dmc" |
| 469 | set output_file [open ../win/Makefile.dmc w] |
| 470 | |
| 471 | writeln {# DO NOT EDIT |
| 472 | # |
| 473 | # This file is automatically generated. Instead of editing this |
| 474 | # file, edit "makemake.tcl" then run "tclsh src/makemake.tcl" |
| @@ -596,10 +600,11 @@ | |
| 596 | ############################################################################## |
| 597 | # Begin win/Makefile.msc |
| 598 | # |
| 599 | puts "building ../win/Makefile.msc" |
| 600 | set output_file [open ../win/Makefile.msc w] |
| 601 | |
| 602 | writeln {# DO NOT EDIT |
| 603 | # |
| 604 | # This file is automatically generated. Instead of editing this |
| 605 | # file, edit "makemake.tcl" then run "tclsh src/makemake.tcl" |
| @@ -730,11 +735,11 @@ | |
| 730 | ############################################################################## |
| 731 | # Begin win/Makefile.PellesCGMake |
| 732 | # |
| 733 | puts "building ../win/Makefile.PellesCGMake" |
| 734 | set output_file [open ../win/Makefile.PellesCGMake w] |
| 735 | |
| 736 | |
| 737 | writeln {# DO NOT EDIT |
| 738 | # |
| 739 | # This file is automatically generated. Instead of editing this |
| 740 | # file, edit "makemake.tcl" then run "tclsh src/makemake.tcl" |
| 741 |
| --- src/makemake.tcl | |
| +++ src/makemake.tcl | |
| @@ -121,10 +121,12 @@ | |
| 121 | ############################################################################## |
| 122 | # Start by generating the "main.mk" makefile used for all unix systems. |
| 123 | # |
| 124 | puts "building main.mk" |
| 125 | set output_file [open main.mk w] |
| 126 | fconfigure $output_file -translation binary |
| 127 | |
| 128 | writeln {# DO NOT EDIT |
| 129 | # |
| 130 | # This file is automatically generated. Instead of editing this |
| 131 | # file, edit "makemake.tcl" then run "tclsh makemake.tcl" |
| 132 | # to regenerate this file. |
| @@ -259,10 +261,11 @@ | |
| 261 | ############################################################################## |
| 262 | # Begin win/Makefile.mingw |
| 263 | # |
| 264 | puts "building ../win/Makefile.mingw" |
| 265 | set output_file [open ../win/Makefile.mingw w] |
| 266 | fconfigure $output_file -translation binary |
| 267 | |
| 268 | writeln {#!/usr/bin/make |
| 269 | # |
| 270 | # This is a makefile for us on windows using mingw. |
| 271 | # |
| @@ -465,10 +468,11 @@ | |
| 468 | ############################################################################## |
| 469 | # Begin win/Makefile.dmc |
| 470 | # |
| 471 | puts "building ../win/Makefile.dmc" |
| 472 | set output_file [open ../win/Makefile.dmc w] |
| 473 | fconfigure $output_file -translation binary |
| 474 | |
| 475 | writeln {# DO NOT EDIT |
| 476 | # |
| 477 | # This file is automatically generated. Instead of editing this |
| 478 | # file, edit "makemake.tcl" then run "tclsh src/makemake.tcl" |
| @@ -596,10 +600,11 @@ | |
| 600 | ############################################################################## |
| 601 | # Begin win/Makefile.msc |
| 602 | # |
| 603 | puts "building ../win/Makefile.msc" |
| 604 | set output_file [open ../win/Makefile.msc w] |
| 605 | fconfigure $output_file -translation binary |
| 606 | |
| 607 | writeln {# DO NOT EDIT |
| 608 | # |
| 609 | # This file is automatically generated. Instead of editing this |
| 610 | # file, edit "makemake.tcl" then run "tclsh src/makemake.tcl" |
| @@ -730,11 +735,11 @@ | |
| 735 | ############################################################################## |
| 736 | # Begin win/Makefile.PellesCGMake |
| 737 | # |
| 738 | puts "building ../win/Makefile.PellesCGMake" |
| 739 | set output_file [open ../win/Makefile.PellesCGMake w] |
| 740 | fconfigure $output_file -translation binary |
| 741 | |
| 742 | writeln {# DO NOT EDIT |
| 743 | # |
| 744 | # This file is automatically generated. Instead of editing this |
| 745 | # file, edit "makemake.tcl" then run "tclsh src/makemake.tcl" |
| 746 |