shithub: cc65-plan9

Download patch

ref: 7870bfc34bbd6c2cf918749490ee8fc8dd0177db
parent: 52c766d0264b281bac522604c5ab419b3303ed63
author: Tevo <estevan.cps@gmail.com>
date: Thu Sep 3 22:19:23 EDT 2020

Mkfile fixes

--- a/mkfile
+++ b/mkfile
@@ -6,14 +6,19 @@
 		cd upstream && mk $target
 	}
 
-upstream:D: /bin/git/clone
+upstream:
 	git/clone $UPSTREAM upstream
 
-bind:V: upstream overlay
-	if(! test -e upstream/mkfile)
-		overlay mkfiles upstream
-	if not
-		status=''
+sync pull:V: upstream
+	git/pull
+	@{
+		cd upstream && git/pull
+	}
 
-unbind:V: upstream overlay
+upstream/mkfile: upstream
+	overlay mkfiles upstream
+
+bind:V: upstream/mkfile
+
+unbind:V:
 	overlay -u mkfiles upstream