Fossil SCM

Add an fconfigure to disable the automatic NL to CR/NL translation that occurs in makemake.tcl on windows systems.

drh 2010-12-26 14:49 trunk
Commit af6810c589e33374c4f5e400ccfd6d77844c66ce
1 file changed +6 -1
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -121,10 +121,12 @@
121121
##############################################################################
122122
# Start by generating the "main.mk" makefile used for all unix systems.
123123
#
124124
puts "building main.mk"
125125
set output_file [open main.mk w]
126
+fconfigure $output_file -translation binary
127
+
126128
writeln {# DO NOT EDIT
127129
#
128130
# This file is automatically generated. Instead of editing this
129131
# file, edit "makemake.tcl" then run "tclsh makemake.tcl"
130132
# to regenerate this file.
@@ -259,10 +261,11 @@
259261
##############################################################################
260262
# Begin win/Makefile.mingw
261263
#
262264
puts "building ../win/Makefile.mingw"
263265
set output_file [open ../win/Makefile.mingw w]
266
+fconfigure $output_file -translation binary
264267
265268
writeln {#!/usr/bin/make
266269
#
267270
# This is a makefile for us on windows using mingw.
268271
#
@@ -465,10 +468,11 @@
465468
##############################################################################
466469
# Begin win/Makefile.dmc
467470
#
468471
puts "building ../win/Makefile.dmc"
469472
set output_file [open ../win/Makefile.dmc w]
473
+fconfigure $output_file -translation binary
470474
471475
writeln {# DO NOT EDIT
472476
#
473477
# This file is automatically generated. Instead of editing this
474478
# file, edit "makemake.tcl" then run "tclsh src/makemake.tcl"
@@ -596,10 +600,11 @@
596600
##############################################################################
597601
# Begin win/Makefile.msc
598602
#
599603
puts "building ../win/Makefile.msc"
600604
set output_file [open ../win/Makefile.msc w]
605
+fconfigure $output_file -translation binary
601606
602607
writeln {# DO NOT EDIT
603608
#
604609
# This file is automatically generated. Instead of editing this
605610
# file, edit "makemake.tcl" then run "tclsh src/makemake.tcl"
@@ -730,11 +735,11 @@
730735
##############################################################################
731736
# Begin win/Makefile.PellesCGMake
732737
#
733738
puts "building ../win/Makefile.PellesCGMake"
734739
set output_file [open ../win/Makefile.PellesCGMake w]
735
-
740
+fconfigure $output_file -translation binary
736741
737742
writeln {# DO NOT EDIT
738743
#
739744
# This file is automatically generated. Instead of editing this
740745
# file, edit "makemake.tcl" then run "tclsh src/makemake.tcl"
741746
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button