Plan 9 from Bell Labs’s /usr/web/sources/plan9/sys/src/cmd/postscript/trofftable/mkfile

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


</$objtype/mkfile

MAKE=mk
MAKEFILE=postscript.mk

SYSTEM=plan9
VERSION=3.3.1

ROOT=
FONTDIR=$ROOT/sys/lib/troff/font
MAN1DIR=$ROOT/tmp
POSTBIN=$ROOT/sys/lib/postscript/bin
POSTLIB=$ROOT/sys/lib/postscript/prologues


all :V: trofftable

install :V: $POSTBIN/rc/trofftable $POSTLIB/trofftable.ps $MAN1DIR/trofftable.1

installall :V: install

clean :V:
	rm -f trofftable

clobber :V: clean

$POSTBIN/rc/trofftable : trofftable
	cp $prereq $target

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

$MAN1DIR/trofftable.1 : trofftable.1
	cp $prereq $target

trofftable : trofftable.rc
	sed \
	    -e 's?^FONTDIR=.*?FONTDIR='$FONTDIR'?' \
	    -e 's?^POSTBIN=.*?POSTBIN='$POSTBIN'?' \
	    -e 's?^POSTLIB=.*?POSTLIB='$POSTLIB'?' \
	trofftable.rc >trofftable
	chmod 775 trofftable

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.