diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-01-05 23:02:57 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-01-05 23:02:57 (GMT) |
commit | d3d7043783be6e2e0900d64096454463593ce91e (patch) | |
tree | b39e5061f0398aec2f3fb36c0132fa1f36b8d63c /tools | |
parent | a48a1ef9e1d9951ed9475b992814feb2fa4d2478 (diff) | |
parent | 041ff066d3f12a2e1ee3731974fc07684924d91a (diff) | |
download | tcl-d3d7043783be6e2e0900d64096454463593ce91e.zip tcl-d3d7043783be6e2e0900d64096454463593ce91e.tar.gz tcl-d3d7043783be6e2e0900d64096454463593ce91e.tar.bz2 |
Handle README -> README.md change in tcltk-man2html.tcl
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/tcltk-man2html.tcl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/tcltk-man2html.tcl b/tools/tcltk-man2html.tcl index e1aa79f..7b3558d 100755 --- a/tools/tcltk-man2html.tcl +++ b/tools/tcltk-man2html.tcl @@ -514,12 +514,12 @@ proc make-man-pages {html args} { proc plus-base {var root glob name dir desc} { global tcltkdir if {$var} { - if {[file exists $tcltkdir/$root/README]} { - set f [open $tcltkdir/$root/README] + if {[file exists $tcltkdir/$root/README.md]} { + set f [open $tcltkdir/$root/README.md] fconfigure $f -encoding utf-8 set d [read $f] close $f - if {[regexp {This is the \w+ (\S+) source distribution} $d -> version]} { + if {[regexp {This is the \*\*\w+ (\S+)\*\* source distribution} $d -> version]} { append name ", version $version" } } |