plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

mkfile (350B)


      1 </$objtype/mkfile
      2 
      3 <../config
      4 
      5 all:V:	hardcopy
      6 
      7 installall install:V:	$POSTBIN/hardcopy $POSTLIB/hardcopy.ps
      8 
      9 $POSTBIN/hardcopy:	hardcopy
     10 	cp $prereq $target
     11 
     12 $POSTLIB/hardcopy.ps:	hardcopy.ps
     13 	cp $prereq $target
     14 
     15 hardcopy:	hardcopy.rc
     16 	sed 's?^POSTLIB=.*?POSTLIB='$POSTLIB'?' hardcopy.rc >hardcopy
     17 	chmod 775 hardcopy
     18 
     19 clean nuke:V:
     20 	rm -f hardcopy