shithub: clone

Download patch

ref: a79f839320ed7845764f1abff3e54b6355eb4640
parent: 304a20565174e8418270abc8254dfb8d9f906d09
author: kvik <kvik@a-b.xyz>
date: Wed Nov 7 18:12:53 EST 2018

mkfile: actually fix manual page install

--- a/mkfile
+++ b/mkfile
@@ -3,7 +3,6 @@
 TARG=clone
 OFILES=clone.$O
 BIN=/$objtype/bin
-MAN=/sys/man/1
 
 </sys/src/cmd/mkone
 
@@ -12,11 +11,14 @@
 	
 all: README
 
-install:V: clone.man
+manpage:V:
+	cp clone.man /sys/man/1/clone
 
+install:V: manpage
+
 uninstall:V:
 	rm -f $BIN/$TARG
-	rm -f $MAN/$TARG
+	rm -f /sys/man/1/clone
 
 release:V: clean
 	tag=`{hg tags|awk 'NR==2{print $1}'}