code: plan9front

ref: 5622b0bbd878dbc34045cc6fd37cffa64461eabe
dir: /sys/src/cmd/postscript/hardcopy/mkfile/

View raw version
</$objtype/mkfile

<../config

all:V:	hardcopy

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

$POSTBIN/hardcopy:	hardcopy
	cp $prereq $target

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

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

clean nuke:V:
	rm -f hardcopy