/sys/doc: fix mkfile to and remove files that now can be regenerated

This commit is contained in:
cinap_lenrek 2017-05-09 16:23:48 +02:00
parent 015956ea61
commit 2fda77e404
10 changed files with 18 additions and 16745 deletions

View file

@ -7,3 +7,7 @@
8½.html:D: 8½.ms
tbl 8½.ms | htmlroff -ms -mhtml >8½.html
%.pdf:D: %.ps
cat ../docfonts $stem.ps >_$stem.ps
# distill _$stem.ps && mv _$stem.pdf $stem.pdf
ps2pdf _$stem.ps $stem.pdf && rm -f _$stem.ps

File diff suppressed because it is too large Load diff

View file

@ -73,7 +73,7 @@ colophon.ps:D: /sys/lib/man/colophon
cleanps $target
# troff gets some scary-looking errors but they're okay
%.ps:D: %.ms
&.ps:D: &.ms
mac=(-ms)
if(~ $stem comp utf 9 contents) mac=(-ms -mnihongo)
{ echo $FONTS; cat $stem.ms } | pic | tbl | eqn |
@ -98,6 +98,11 @@ index.html: contents.html
&.html:D: &.ms
pic $stem.ms | tbl | eqn | htmlroff -ms -mhtml >$target
&.pdf:D: &.ps
cat docfonts $stem.ps >_$stem.ps
# distill _$stem.ps && mv _$stem.pdf $stem.pdf
ps2pdf _$stem.ps $stem.pdf && rm -f _$stem.ps
pdf:V: $PDF
^(8½|acme|fs|il|net|sam|venti)/([^/]*\.(pdf|ps|html))'$':R:
@ -107,11 +112,6 @@ pdf:V: $PDF
^(8½|acme|fs|il|net|sam|venti)\.html'$':R: \1/\1.html
cp $stem1/$stem1.html .
%.pdf: %.ps
cat docfonts $stem.ps >_$stem.ps
# distill _$stem.ps && mv _$stem.pdf $stem.pdf
ps2pdf _$stem.ps $stem.pdf && rm -f _$stem.ps
%.all:V:
mk $stem.ps $stem.pdf $stem.html

View file

@ -16,6 +16,11 @@ tree.pout:D: tree
net.html:D: $DEPS
tbl net.ms | htmlroff -ms -mhtml >net.html
%.pdf:D: %.ps
cat ../docfonts $stem.ps >_$stem.ps
# distill _$stem.ps && mv _$stem.pdf $stem.pdf
ps2pdf _$stem.ps $stem.pdf && rm -f _$stem.ps
clean:V:
rm -f net.ps tree.pout net.trout

Binary file not shown.

View file

@ -6,6 +6,9 @@ all:V: $TARG
eval `{doctype macros.ms $stem.ms} | \
lp -m.9 -dstdout >$target
%.html:DQ: %.ms
htmlroff -ms -mhtml $stem.ms >$target
%.pdf:DQ: %.ps
cat ../docfonts $stem.ps >_$stem.ps
ps2pdf _$stem.ps $stem.pdf && rm -f _$stem.ps

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

Binary file not shown.