File: mkhtmlman.csh

package info (click to toggle)
radiance 3R9+20080530-4
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 26,244 kB
  • ctags: 10,546
  • sloc: ansic: 105,887; csh: 3,558; tcl: 3,358; python: 875; makefile: 280; sh: 14
file content (20 lines) | stat: -rwxr-xr-x 461 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/csh -fe
# RCSid $Id: mkhtmlman.csh,v 1.1 2005/10/26 23:56:21 greg Exp $
#
# Build man pages in HTML for Radiance website
#
cd man
mkdir man_html
foreach sect (1 3 5)
cd man$sect
foreach mpage (*.$sect)
	nroff -man $mpage \
		| man2html -title "Radiance $mpage:r program" -nodepage \
			     -cgiurl '$title.$section.html' \
		> ../man_html/$mpage.html
end
cd ..
end
tar czf ../man_html.tar.gz man_html
echo "Pages in man_html.tar.gz"
exec rm -r man_html