ref: 13a0cd269f19b10a1327c13c89db56fb6945e7da
parent: 2d19f4eaafafeb881666f9bb7907cc47de32b05c
author: phil9 <telephil9@gmail.com>
date: Sun Jul 7 13:47:41 EDT 2024
mkfile: add rule to install runtime files and clean pathdef.c (thanks shurizzle)
--- a/mkfile
+++ b/mkfile
@@ -70,6 +70,9 @@
version.$O\
window.$O\
+CLEANFILES=\
+ pathdef.c\
+
default:V: all
</sys/src/cmd/mkmany
@@ -103,3 +106,10 @@
$O.xxd: xxd/xxd.c
$CC -D_POSIX_SOURCE -o $target $prereq
+
+install:V: installruntime
+
+installruntime:V:
+ rm -rf /sys/lib/vim/vimfiles
+ mkdir -p /sys/lib/vim/vimfiles
+ dircp lib/vimfiles /sys/lib/vim/vimfiles