shithub: puzzles

ref: 56781e60ba88728f56bf0241a22553008d76ef74
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