aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/postscript/psencoding/mkfile
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/postscript/psencoding/mkfile')
-rw-r--r--src/cmd/postscript/psencoding/mkfile22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/cmd/postscript/psencoding/mkfile b/src/cmd/postscript/psencoding/mkfile
new file mode 100644
index 00000000..eaceebdb
--- /dev/null
+++ b/src/cmd/postscript/psencoding/mkfile
@@ -0,0 +1,22 @@
+</$objtype/mkfile
+
+<../config
+
+POSTBIN=$ROOT/rc/bin/postscript
+
+all:V: psencoding
+
+install installall:V: $POSTBIN/psencoding $POSTLIB/Latin1.enc $POSTLIB/UTF.enc
+
+clean nuke:V:
+ rm -f psencoding
+
+$POSTBIN/psencoding: psencoding
+ cp $prereq $target
+
+$POSTLIB/%.enc: %.enc
+ cp $prereq $target
+
+psencoding: psencoding.rc
+ sed 's?^POSTLIB=.*?POSTLIB='$POSTLIB'?' psencoding.rc >psencoding
+ chmod 775 psencoding