Files
puzzles/Makefile.doc
Simon Tatham 7bdfda8409 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!
2017-05-13 20:20:23 +01:00

18 lines
506 B
Makefile

all: puzzles.chm puzzles.hlp puzzles.txt HACKING
preprocessed.but: puzzles.but
sed 's/PREFIX-/$(BINPREFIX)/g' puzzles.but > 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
clean:
rm -f puzzles.hlp puzzles.txt preprocessed.but HACKING *.html *.hh[pck]