shithub: riscv

ref: 8188b4f4f0e07b6669e6ae3c6c1099af917eaab4
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