Fossil SCM

Don't use "file nativename" in makemake.tcl, because it gives a different win/Makefile.msc when run on UNIX

jan.nijtmans 2018-08-14 13:05 trunk
Commit af80be5cef31634825d94815cf8164dddfe2fc3977670fcd41a0c7383604287d
1 file changed +1 -1
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -1806,11 +1806,11 @@
18061806
foreach s [lsort $extra_files] {
18071807
if {$i > 0} {
18081808
writeln " \\"
18091809
writeln -nonewline " "
18101810
}
1811
- set s [file nativename $s]
1811
+ set s [regsub -all / $s \\]
18121812
writeln -nonewline "\$(SRCDIR)\\${s}"; incr i
18131813
}
18141814
writeln "\n"
18151815
set AdditionalObj [list shell sqlite3 th th_lang th_tcl cson_amalgamation]
18161816
writeln -nonewline "OBJ = "
18171817
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -1806,11 +1806,11 @@
1806 foreach s [lsort $extra_files] {
1807 if {$i > 0} {
1808 writeln " \\"
1809 writeln -nonewline " "
1810 }
1811 set s [file nativename $s]
1812 writeln -nonewline "\$(SRCDIR)\\${s}"; incr i
1813 }
1814 writeln "\n"
1815 set AdditionalObj [list shell sqlite3 th th_lang th_tcl cson_amalgamation]
1816 writeln -nonewline "OBJ = "
1817
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -1806,11 +1806,11 @@
1806 foreach s [lsort $extra_files] {
1807 if {$i > 0} {
1808 writeln " \\"
1809 writeln -nonewline " "
1810 }
1811 set s [regsub -all / $s \\]
1812 writeln -nonewline "\$(SRCDIR)\\${s}"; incr i
1813 }
1814 writeln "\n"
1815 set AdditionalObj [list shell sqlite3 th th_lang th_tcl cson_amalgamation]
1816 writeln -nonewline "OBJ = "
1817

Keyboard Shortcuts

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