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