shithub: riscv

ref: 2c6cc121339ade33ac5aa4b46356df1cd5469fbe
dir: /sys/src/cmd/postscript/psencoding/mkfile/

View raw version
</$objtype/mkfile

<../config

POSTBIN=$ROOT/rc/bin/postscript

all:V:	psencoding

install installall:V:	$POSTBIN/psencoding $POSTLIB/Latin1.enc $POSTLIB/UTF.enc

clean nuke:V:
	rm -f psencoding

$POSTBIN/psencoding:	psencoding
	cp $prereq $target

$POSTLIB/%.enc:	%.enc
	cp $prereq $target

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