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:
Simon Tatham
2017-05-13 18:55:52 +01:00
parent cce13ed712
commit 7bdfda8409
4 changed files with 15 additions and 37 deletions

View File

@ -1,17 +1,17 @@
all: puzzles.hlp puzzles.txt HACKING
all: puzzles.chm puzzles.hlp puzzles.txt HACKING
preprocessed.but: puzzles.but
sed 's/PREFIX-/$(BINPREFIX)/g' puzzles.but > preprocessed.but
puzzles.hlp puzzles.txt: preprocessed.but
halibut --winhelp=puzzles.hlp --text=puzzles.txt preprocessed.but
puzzles.chm: preprocessed.but
halibut --chm=puzzles.chm preprocessed.but
puzzles.hlp: preprocessed.but
halibut --winhelp=puzzles.hlp preprocessed.but
puzzles.txt: preprocessed.but
halibut --text=puzzles.txt preprocessed.but
HACKING: devel.but
halibut --text=HACKING devel.but
chm: puzzles.hhp
puzzles.hhp: puzzles.but chm.but
halibut --html puzzles.but chm.but
clean:
rm -f puzzles.hlp puzzles.txt preprocessed.but HACKING *.html *.hh[pck]