diff options
author | Joe Mistachkin <joe@mistachkin.com> | 2016-08-10 03:13:46 (GMT) |
---|---|---|
committer | Joe Mistachkin <joe@mistachkin.com> | 2016-08-10 03:13:46 (GMT) |
commit | 5842060393afb827aa8caa426fdd32a58e7f8005 (patch) | |
tree | 9d1979e8ee38231c393afc075fe143b368b44c15 /win | |
parent | 53b6bf7310b56ceb0c4d2d16a0252a3c600924b1 (diff) | |
download | tcl-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.
Diffstat (limited to 'win')
-rw-r--r-- | win/makefile.vc | 6 |
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]
|