equal
deleted
inserted
replaced
|
1 #!/bin/csh -fe |
|
2 # RCSid $Id: mkhtmlman.csh,v 1.1 2005/10/26 23:56:21 greg Exp $ |
|
3 # |
|
4 # Build man pages in HTML for Radiance website |
|
5 # |
|
6 cd man |
|
7 mkdir man_html |
|
8 foreach sect (1 3 5) |
|
9 cd man$sect |
|
10 foreach mpage (*.$sect) |
|
11 nroff -man $mpage \ |
|
12 | man2html -title "Radiance $mpage:r program" -nodepage \ |
|
13 -cgiurl '$title.$section.html' \ |
|
14 > ../man_html/$mpage.html |
|
15 end |
|
16 cd .. |
|
17 end |
|
18 tar czf ../man_html.tar.gz man_html |
|
19 echo "Pages in man_html.tar.gz" |
|
20 exec rm -r man_html |