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.
45 HTML=${ALL:%=%.html} release3.html release4.html
46 PDF=${ALL:%=%.pdf} release3.pdf release4.pdf
47 FILES=`{mkfilelist $ALL}
48 DIRS=`{mkdirlist $ALL}
51 all:V: ${FILES:%=%.ps} dirs
63 troff $prereq | lp -dstdout > $target
66 trademarks.ps:D: /sys/lib/man/trademarks
67 troff $prereq | lp -dstdout > $target
70 colophon.ps:D: /sys/lib/man/colophon
71 troff $prereq | lp -dstdout > $target
74 # troff gets some scary-looking errors but they're okay
77 if(~ $stem comp utf 9 contents) mac=(-ms -mnihongo)
78 { echo $FONTS; cat $stem.ms } | pic | tbl | eqn |
79 troff $mac | lp -dstdout > $target
84 if(~ $stem comp utf 9 contents) mac=($mac -mnihongo)
85 { echo $FONTS; cat $stem.ms } | pic | tbl | eqn |
90 9.trout 9.ps 9.html: network.pic
92 %.html: /$objtype/bin/htmlroff /sys/lib/tmac/tmac.s
94 index.html: contents.html
95 cp contents.html index.html
98 pic $stem.ms | tbl | eqn | htmlroff -ms -mhtml >$target
102 ^(8½|acme|fs|il|net|sam|venti)/([^/]*\.(pdf|ps|html))'$':R:
106 ^(8½|acme|fs|il|net|sam|venti)\.html'$':R: \1/\1.html
107 cp $stem1/$stem1.html .
110 cat docfonts $stem.ps >_$stem.ps
111 # distill _$stem.ps && mv _$stem.pdf $stem.pdf
112 ps2pdf _$stem.ps $stem.pdf && rm -f _$stem.ps
115 mk $stem.ps $stem.pdf $stem.html
119 files=`{ls $stem.html $stem^*.png $stem/*.png $stem/*.html >[2]/dev/null}
122 cp $files /n/other/crp/sources.copy/sys/doc
127 install:V: ${NAMES:%=%.install} release4.install release3.install
130 IGNHTML=title trademarks colophon troff
131 IGN=${IGNHTML:%=%.html} ${IGNHTML:%=%.install}