mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 03:22:48 -05:00
Switch to using Halibut's new direct .CHM generation.
This allows me to remove HTML Help Workshop completely from my build dependencies, and good riddance!
This commit is contained in:
10
doc/Makefile
10
doc/Makefile
@ -44,19 +44,17 @@ INPUTS = $(patsubst %,%.but,$(CHAPTERS))
|
||||
HALIBUT = halibut
|
||||
|
||||
index.html: $(INPUTS)
|
||||
$(HALIBUT) --text --html --winhelp $(INPUTS)
|
||||
$(HALIBUT) --text --html --winhelp --chm $(INPUTS)
|
||||
|
||||
# During formal builds it's useful to be able to build this one alone.
|
||||
# During formal builds it's useful to be able to build these ones alone.
|
||||
putty.hlp: $(INPUTS)
|
||||
$(HALIBUT) --winhelp $(INPUTS)
|
||||
putty.chm: $(INPUTS)
|
||||
$(HALIBUT) --chm $(INPUTS)
|
||||
|
||||
putty.info: $(INPUTS)
|
||||
$(HALIBUT) --info $(INPUTS)
|
||||
|
||||
chm: putty.hhp
|
||||
putty.hhp: $(INPUTS) chm.but
|
||||
$(HALIBUT) --html $(INPUTS) chm.but
|
||||
|
||||
MKMAN = $(HALIBUT) --man=$@ mancfg.but $<
|
||||
MANPAGES = putty.1 puttygen.1 plink.1 pscp.1 psftp.1 puttytel.1 pterm.1 \
|
||||
pageant.1
|
||||
|
@ -14,10 +14,16 @@ page</a>.</p>}
|
||||
|
||||
\cfg{info-max-file-size}{0}
|
||||
|
||||
\cfg{chm-contents-filename}{index.html}
|
||||
\cfg{chm-template-filename}{%k.html}
|
||||
\cfg{chm-head-end}{<link rel="stylesheet" type="text/css" href="chm.css">}
|
||||
\cfg{chm-extra-file}{chm.css}
|
||||
|
||||
\cfg{xhtml-contents-filename}{index.html}
|
||||
\cfg{text-filename}{puttydoc.txt}
|
||||
\cfg{winhelp-filename}{putty.hlp}
|
||||
\cfg{info-filename}{putty.info}
|
||||
\cfg{chm-filename}{putty.chm}
|
||||
|
||||
PuTTY is a free (MIT-licensed) Windows Telnet and SSH client. This
|
||||
manual documents PuTTY, and its companion utilities PSCP, PSFTP,
|
||||
|
22
doc/chm.but
22
doc/chm.but
@ -1,22 +0,0 @@
|
||||
\# File containing the magic HTML configuration directives to create
|
||||
\# an MS HTML Help project. We put this on the end of the PuTTY
|
||||
\# docs build command line to build the HHP and friends.
|
||||
|
||||
\cfg{html-leaf-level}{infinite}
|
||||
\cfg{html-leaf-contains-contents}{false}
|
||||
\cfg{html-suppress-navlinks}{true}
|
||||
\cfg{html-suppress-address}{true}
|
||||
|
||||
\cfg{html-contents-filename}{index.html}
|
||||
\cfg{html-template-filename}{%k.html}
|
||||
\cfg{html-template-fragment}{%k}
|
||||
|
||||
\cfg{html-mshtmlhelp-chm}{putty.chm}
|
||||
\cfg{html-mshtmlhelp-project}{putty.hhp}
|
||||
\cfg{html-mshtmlhelp-contents}{putty.hhc}
|
||||
\cfg{html-mshtmlhelp-index}{putty.hhk}
|
||||
|
||||
\cfg{html-body-end}{}
|
||||
|
||||
\cfg{html-head-end}{<link rel="stylesheet" type="text/css" href="chm.css">}
|
||||
|
Reference in New Issue
Block a user