summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/src/Makefile.doc
blob: 0fd28db5ed51100bf2cbba3e65519dc91c13310e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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]