shithub: puzzles

ref: 5518b554dd7848acd7839e1de01cfa485ba32bd8
dir: /Makefile.doc/

View raw version
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.chm puzzles.cnt puzzles.hlp puzzles.txt preprocessed.but HACKING