shithub: puzzles

ref: 5c858253f9456b970be5d5ef3e7df727d39e3da7
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