1 # Changes made in this directory are invisible to the
2 # external web server. To publish changed documents
3 # to the external web server, mk install or name.install
4 # To publish changed ps/pdf files, see the install rule.
46 HTML=${ALL:%=%.html} release3.html release4.html
47 PDF=${ALL:%=%.pdf} release3.pdf release4.pdf
48 FILES=`{mkfilelist $ALL}
49 DIRS=`{mkdirlist $ALL}
52 all:V: ${FILES:%=%.ps} dirs
64 troff $prereq | lp -dstdout > $target
67 trademarks.ps:D: /sys/lib/man/trademarks
68 troff $prereq | lp -dstdout > $target
71 colophon.ps:D: /sys/lib/man/colophon
72 troff $prereq | lp -dstdout > $target
75 # troff gets some scary-looking errors but they're okay
78 if(~ $stem comp utf 9 contents) mac=(-ms -mnihongo)
79 { echo $FONTS; cat $stem.ms } | pic | tbl | eqn |
80 troff $mac | lp -dstdout > $target
85 if(~ $stem comp utf 9 contents) mac=($mac -mnihongo)
86 { echo $FONTS; cat $stem.ms } | pic | tbl | eqn |
91 9.trout 9.ps 9.html: network.pic
93 %.html: /$objtype/bin/htmlroff /sys/lib/tmac/tmac.s
95 index.html: contents.html
96 cp contents.html index.html
99 pic $stem.ms | tbl | eqn | htmlroff -ms -mhtml >$target
103 ^(8½|acme|fs|il|net|sam|venti)/([^/]*\.(pdf|ps|html))'$':R:
107 ^(8½|acme|fs|il|net|sam|venti)\.html'$':R: \1/\1.html
108 cp $stem1/$stem1.html .
111 cat docfonts $stem.ps >_$stem.ps
112 # distill _$stem.ps && mv _$stem.pdf $stem.pdf
113 ps2pdf _$stem.ps $stem.pdf && rm -f _$stem.ps
116 mk $stem.ps $stem.pdf $stem.html
120 files=`{ls $stem.html $stem^*.png $stem/*.png $stem/*.html >[2]/dev/null}
123 cp $files /n/other/crp/sources.copy/sys/doc
128 install:V: ${NAMES:%=%.install} release4.install release3.install
131 IGNHTML=title trademarks colophon troff
132 IGN=${IGNHTML:%=%.html} ${IGNHTML:%=%.install}