Skip to content
Tcl Source Code View Ticket
Login

View Ticket

make html/nmake htmlhelp require tk folder beside tcl

Open84284637b6ef1bd2288591b5254ceab7574f0651Created 6 years agoUpdated 6 years ago
Descriptionwiki2021-02-08 10:07:04
The file "tools/tcltk-man2html.tcl" implies the following rules to the tk source folder:
  • same parent folder as tcl source
  • named as tk + version string (example: tk8.6.10)

The rest of the Tk build system works differently and does not constrain the tk source folder location or name.

My test is as follows:

  • TCL source in c:\test\tcl8.7-branch-vc2015-debug
  • Tk source in c:\test\tk8.7-image-metadata\tk8.7-checkout
  • Windows MS-VC2015 32 bit native command
  • cd c:\test\tk8.7-image-metadata\tk8.7-checkout\win
  • nmake Makefile.vc htmlhelp TCLDIR=c:\test\tcl8.7-branch-vc2015-debug OPTS=symbols

By this command, another Tk distribution in c:\test\tk is chosen and used. There are no error messages, about the issue.

I suppose, the issue is the same on other platforms, as "make html" uses the tcltk-man2html.tcl command, and this command does not feature a possibility to specify the tk folder.

I think, the tk folder of the build environment should be used, or an error should be thrown, that the current configuration is not possible.

But silently doing something else is not helpful.

Thank you all, Harald

Log in (anonymous is fine) to add a comment.