FONTS= CMB10\ CMBSY10\ CMBX10\ CMBX12\ CMBX5\ CMBX6\ CMBX7\ CMBX8\ CMBX9\ CMBXSL10\ CMBXTI10\ CMCSC10\ CMDUNH10\ CMEX10\ CMFF10\ CMFI10\ CMFIB8\ CMINCH\ CMMI10\ CMMI12\ CMMI5\ CMMI6\ CMMI7\ CMMI8\ CMMI9\ CMMIB10\ CMR10\ CMR12\ CMR17\ CMR5\ CMR6\ CMR7\ CMR8\ CMR9\ CMSL10\ CMSL12\ CMSL8\ CMSL9\ CMSS10\ CMSS12\ CMSS17\ CMSS8\ CMSS9\ CMSSBX10\ CMSSDC10\ CMSSI10\ CMSSI12\ CMSSI17\ CMSSI8\ CMSSI9\ CMSSQ8\ CMSSQI8\ CMSY10\ CMSY5\ CMSY6\ CMSY7\ CMSY8\ CMSY9\ CMTCSC10\ CMTEX10\ CMTEX8\ CMTEX9\ CMTI10\ CMTI12\ CMTI7\ CMTI8\ CMTI9\ CMU10\ CMVTT10\ LASY10\ LASY5\ LASY6\ LASY7\ LASY8\ LASY9\ LASYB10\ LCIRCLE1\ LCIRCLEW\ LCMSS8\ LCMSSB8\ LCMSSI8\ LINE10\ LINEW10\ LOGO10\ LOGO8\ LOGO9\ LOGOBF10\ LOGOSL10 buildfonts='ape/sh /sys/src/cmd/postscript/buildtables/buildtables.sh' all:V: $FONTS install:V: for(i in $FONTS) { cp $i /sys/lib/troff/font/devutf/$i sed -e s/CMR10/$i/ < postscript/troff/CMR10 > /sys/lib/postscript/troff/$i } clean:V: rm -f $FONTS.ps nuke:V: clean rm -f $FONTS %.ps:D: eval $buildfonts $stem %:D: %.ps gs -q -dBATCH $stem.ps > $stem