shithub: riscv

ref: fed50d79d38881437639f3189b4a99aee93daa9a
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