summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Mistachkin <joe@mistachkin.com>2016-08-10 03:13:46 (GMT)
committerJoe Mistachkin <joe@mistachkin.com>2016-08-10 03:13:46 (GMT)
commit5842060393afb827aa8caa426fdd32a58e7f8005 (patch)
tree9d1979e8ee38231c393afc075fe143b368b44c15
parent53b6bf7310b56ceb0c4d2d16a0252a3c600924b1 (diff)
downloadtcl-5842060393afb827aa8caa426fdd32a58e7f8005.zip
tcl-5842060393afb827aa8caa426fdd32a58e7f8005.tar.gz
tcl-5842060393afb827aa8caa426fdd32a58e7f8005.tar.bz2
Set the default topic, enable full-text search, and put all help output files under OUT_DIR.
-rw-r--r--win/makefile.vc6
1 files changed, 4 insertions, 2 deletions
diff --git a/win/makefile.vc b/win/makefile.vc
index 7c65aea..f401541 100644
--- a/win/makefile.vc
+++ b/win/makefile.vc
@@ -737,7 +737,7 @@ gentommath_h:
!ifndef HHC
HHC=""%ProgramFiles%\HTML Help Workshop\hhc.exe""
!endif
-HTMLDIR=$(ROOT)\html
+HTMLDIR=$(OUT_DIR)\html
HTMLBASE=TclTk$(VERSION)
HHPFILE=$(HTMLDIR)\$(HTMLBASE).hhp
CHMFILE=$(HTMLDIR)\$(HTMLBASE).chm
@@ -745,14 +745,16 @@ CHMFILE=$(HTMLDIR)\$(HTMLBASE).chm
htmlhelp: chmsetup $(CHMFILE)
$(CHMFILE): $(DOCDIR)\*
- @$(TCLSH) $(TOOLSDIR)\tcltk-man2html.tcl
+ @$(TCLSH) $(TOOLSDIR)\tcltk-man2html.tcl "--htmldir=$(HTMLDIR)"
@echo Compiling HTML help project
-$(HHC) <<$(HHPFILE) >NUL
[OPTIONS]
Compatibility=1.1 or later
Compiled file=$(HTMLBASE).chm
+Default topic=contents.htm
Display compile progress=no
Error log file=$(HTMLBASE).log
+Full-text search=Yes
Language=0x409 English (United States)
Title=Tcl/Tk $(DOT_VERSION) Help
[FILES]