File: Makefile.doc

package info (click to toggle)
sgt-puzzles 6879-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,780 kB
  • ctags: 3,974
  • sloc: ansic: 41,479; perl: 1,260; objc: 1,184; makefile: 50
file content (28 lines) | stat: -rw-r--r-- 1,067 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
MAN_PAGES := blackboxgame.6 bridges.6 cube.6 dominosa.6 fifteen.6 flipgame.6 \
    guess.6 inertia.6 lightup.6 loopy.6 map.6 mines.6 netgame.6 netslide.6 \
    pattern.6 pegs.6 rect.6 samegame.6 sixteen.6 slant.6 solo.6 tents.6 \
    twiddle.6 untangle.6

HTML_PAGES := common.html docindex.html index.html intro.html licence.html \
    blackbox.html bridges.html cube.html dominosa.html fifteen.html flip.html \
    guess.html inertia.html lightup.html loopy.html map.html mines.html \
    net.html netslide.html pattern.html pegs.html rectangles.html \
    samegame.html sixteen.html slant.html solo.html tents.html twiddle.html \
    untangle.html

all: puzzles.hlp puzzles.cnt puzzles.txt HACKING $(MAN_PAGES) $(HTML_PAGES)

clean:
	rm -f puzzles.hlp puzzles.cnt puzzles.txt HACKING *.6 *.html

puzzles.hlp puzzles.cnt puzzles.txt: puzzles.but
	halibut --winhelp=puzzles.hlp --text=puzzles.txt puzzles.but

HACKING: devel.but
	halibut --text=HACKING devel.but

$(MAN_PAGES): puzzles.but
	perl mkmanpages.pl

$(HTML_PAGES): puzzles.but
	halibut --html puzzles.but