Revision: | 1.1 |
Committed: | Wed Oct 26 23:56:21 2005 UTC (19 years, 4 months ago) by greg |
Content type: | application/x-csh |
Branch: | MAIN |
CVS Tags: | rad5R4, rad5R2, rad4R2P2, rad5R0, rad5R1, rad4R2, rad4R1, rad4R0, rad3R8, rad3R9, rad4R2P1, rad5R3, HEAD |
Log Message: | Created script to generate HTML man pages |
# | Content |
---|---|
1 | #!/bin/csh -fe |
2 | # RCSid $Id$ |
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 |