shithub: clone

Download patch

ref: e88110ffdabc47c4b3c3ce10ab9f7cd134184c6e
parent: f6f10ca542f39c7294b6211cbac7c66835476bac
author: kvik <kvik@a-b.xyz>
date: Mon Dec 24 03:55:51 EST 2018

remove stupid mkfile rules. (thanks BurnZeZ)

--- a/mkfile
+++ b/mkfile
@@ -3,23 +3,12 @@
 TARG=clone
 OFILES=clone.$O
 BIN=/$objtype/bin
+MAN=/sys/man/1
 
 </sys/src/cmd/mkone
 
-README:
-	troff -man -N -rL1000i clone.man | ssam 'x/\n\n\n+/c/\n\n/' >README
+install:V: $TARG.man
 	
-all: README
-
-manpage:V:
-	cp clone.man /sys/man/1/clone
-
-install:V: manpage
-
 uninstall:V:
 	rm -f $BIN/$TARG
-	rm -f /sys/man/1/clone
-
-release:V: clean
-	tag=`{hg tags|awk 'NR==2{print $1}'}
-	tar c . | gzip >/tmp/$TARG.$tag.tgz
+	rm -f $MAN/$TARG