blob: 38f0720d0a9a0131f268f065a7f36e0fb1cff0d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
</$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
|