]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/doc/mkfile
devvmx: remove bogus . direntry
[plan9front.git] / sys / doc / mkfile
index 0226f35c057f87d1d9a9ed36b69cfb256318b524..54cbf648ff8592d922f1b42f3d56636882ca1163 100644 (file)
@@ -40,6 +40,7 @@ ALL=\
        spin\
        port\
        colophon\
+       nupas/nupas\
 
 ALLPS=${ALL:%=%.ps}
 HTML=${ALL:%=%.html} release3.html release4.html
@@ -72,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 | 
@@ -97,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:
@@ -106,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