shithub: riscv

ref: 4a9239723609d4f850b1aa7083b712682027136a
dir: /sys/src/cmd/postscript/printfont/mkfile/

View raw version
</$objtype/mkfile

<../config

POSTBIN=/rc/bin

all:V:	printfont

install installall:V:	$POSTBIN/printfont $POSTLIB/printfont.ps

clean nuke:V:
	rm -f printfont

$POSTBIN/printfont:	printfont
	cp $prereq $target

$POSTLIB/printfont.ps:	printfont.ps
	cp $prereq $target

printfont:	printfont.rc
	sed 's?^POSTLIB=.*?POSTLIB='$POSTLIB'?' printfont.rc >printfont
	chmod 775 printfont