aboutsummaryrefslogtreecommitdiff
path: root/unix/man/mkfile
blob: 918aff8aea036640bac6286ffdf3b62d5baf0524 (plain)
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
29
30
31
32
33
34
HTML=\
	isalpharune3.html\
	rune3.html\
	runestrcat3.html\
	utf7.html\
	print3.html\
	fmtinstall3.html\
	quote3.html\
	fmtstrtod3.html\
	bio3.html\
	regexp93.html\
	regexp97.html\
	mk1.html\

all:V: $HTML

title='Ported from Plan 9'
MKSHELL=$PLAN9/bin/rc

%1.html:D: %.1
	whatis title
	9 troff -manhtml $prereq | troff2html -t $title > $target
	./fixurls $target

%3.html:D: %.3
	9 troff -manhtml $prereq | troff2html -t $title > $target
	./fixurls $target

%7.html:D: %.7
	9 troff -manhtml $prereq | troff2html -t $title > $target
	./fixurls $target

push:V:
	rsync -e ssh -t *.html swtch:www/swtch.com/plan9port/unix/man