mkfile 787 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. </$objtype/mkfile
  2. MAKE=mk
  3. MAKEFILE=postscript.mk
  4. SYSTEM=plan9
  5. VERSION=3.3.1
  6. ROOT=
  7. FONTDIR=$ROOT/sys/lib/troff/font
  8. MAN1DIR=$ROOT/tmp
  9. POSTBIN=$ROOT/sys/lib/postscript/bin
  10. POSTLIB=$ROOT/sys/lib/postscript/prologues
  11. all :V: trofftable
  12. install :V: $POSTBIN/rc/trofftable $POSTLIB/trofftable.ps $MAN1DIR/trofftable.1
  13. installall :V: install
  14. clean :V:
  15. rm -f trofftable
  16. clobber :V: clean
  17. $POSTBIN/rc/trofftable : trofftable
  18. cp $prereq $target
  19. $POSTLIB/trofftable.ps : trofftable.ps
  20. cp $prereq $target
  21. $MAN1DIR/trofftable.1 : trofftable.1
  22. cp $prereq $target
  23. trofftable : trofftable.rc
  24. sed \
  25. -e 's?^FONTDIR=.*?FONTDIR='$FONTDIR'?' \
  26. -e 's?^POSTBIN=.*?POSTBIN='$POSTBIN'?' \
  27. -e 's?^POSTLIB=.*?POSTLIB='$POSTLIB'?' \
  28. trofftable.rc >trofftable
  29. chmod 775 trofftable