Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: aeece2b7d677a648f2fccaabcabd8a4ec2c10d90
Ticket: 527941ffffffffffffffffffffffffffffffffff
making winhelp with vc++ 6
User & Date: davygrvy on 2002-03-27 17:40:13
Changes

  1. icomment:
    Logged In: YES 
    user_id=7549
    
    I address the tcl.hpj problem in bug 533862.  Essentially, 
    just replace the entire section with the following.  It was 
    just a missing dependency, but I was unhappy with it 
    anyways and just included the whole thing as a temp file so 
    some values can come from macros.
    
    #-----------------------------------------------------------
    ----------
    # Build the windows help file.
    #-----------------------------------------------------------
    ----------
    
    MAN2TCL= $(TOOLSDIR)\man2tcl
    TCLRTF= $(TOOLSDIR)\$(PROJECT).rtf
    MAN2HELP= $(TOOLSDIR)\man2help.tcl
    
    winhelp: $(TCLHLP)
    
    $(TCLHLP): $(TCLRTF)
    cd $(TOOLSDIR)
    start /wait hcrtf.exe -x <<$(PROJECT).hpj
    [OPTIONS]
    COMPRESS=12 Hall Zeck
    LCID=0x409 0x0 0x0 ; English (United States)
    TITLE=Tcl/Tk Reference Manual
    CNT=$(TCLHLPBASE).cnt
    HLP=$(TCLHLPBASE).hlp
    
    [FILES]
    $(PROJECT).rtf
    
    [WINDOWS]
    main="Tcl/Tk Reference Manual",,0
    
    [CONFIG]
    BrowseButtons()
    CreateButton(1, "Main Web Site", ExecFile
    ("http://www.tcl.tk"))
    CreateButton(2, "Sourceforge", ExecFile
    ("http://sf.net/projects/tcl"))
    CreateButton(3, "Wiki", ExecFile("http://wiki.tcl.tk"))
    <<
    cd $(MAKEDIR)
    copy $(TOOLSDIR)\$(TCLHLPBASE).hlp $(OUT_DIR)
    copy $(TOOLSDIR)\$(TCLHLPBASE).cnt $(OUT_DIR)
    
    $(MAN2TCL).exe:
    cd $(TOOLSDIR)
    $(cc32) -nologo -G4 -ML -O2 $(MAN2TCL).c
    cd $(MAKEDIR)
    
    $(TCLRTF): $(MAN2TCL).exe $(TCLSH)
    cd $(TOOLSDIR)
    ..\win\$(TCLSH) $(MAN2HELP) $(PROJECT) $(VERSION) 
    $(ROOT)/doc
    cd $(MAKEDIR)
    
    
    
  2. login: "davygrvy"
  3. mimetype: "text/plain"
  4. username: "davygrvy"