shithub: puzzles

ref: 6684bec60c13f83cfd9c097d03c65e6c99d52993
dir: /Makefile.doc/

View raw version
all: 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

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]