shithub: x

Download patch

ref: fa042db314897c7bbc7aa01afffad42cc5f1b76f
parent: 1a2e3adfccf834e80453813fdb4716a3e8853210
author: kvik <kvik@a-b.xyz>
date: Fri Jun 21 10:08:03 EDT 2019

add mkfile

--- /dev/null
+++ b/mkfile
@@ -1,0 +1,16 @@
+BIN=$home/bin/rc
+MAN=/sys/man/1
+RC=path run
+
+install:V: $MAN/x rc
+
+$MAN/x: x.man
+	cp x.man $MAN/x
+
+rc:V:
+	mkdir -p $BIN/x
+	for(f in $RC) cp $f $BIN
+
+uninstall:V:
+	rm -rf $BIN/x
+	rm -f $MAN/x