Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/slides/fosdem2005/mkfile

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


MKSHELL=$PLAN9/bin/rc
FILES= \
	slides.ps \
	slides.pss

%.html:D:	%.ms
	{ echo $FONTS; cat $stem.ms } | tbl | ms2html > $target

%.pss:DQ:	%.ms mkfile
	eval `{doctype $home/fosdem/macros.ms $stem.ms} | \
	lp -m.9 -dstdout | awk '{print} NR==1 {print "%%BoundingBox: 0 0 507 379"}' >$target

%.ps:DQ: %.ms mkfile
	#eval `{doctype $stem.ms} > $target
	eval `{doctype $stem.ms} | lp -dstdout > $target

%.pdf: %.ps
	{ cat /sys/doc/docfonts $stem.ps } >_$stem.ps
	distill _$stem.ps
	mv _$stem.pdf $stem.pdf


%.view:VQ:	%.ps
	page -w $stem.ps

%.show:VQ:	%.pss
	#page -p 144 -b -w $stem.pss
	page -p 128 -b -w $stem.pss


all:V: $FILES

clear:V:
	rm $FILES

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.