]> Zhao Yanbai Git Server - minix.git/commitdiff
/usr/Makefile - automatically install git
authorBen Gras <ben@minix3.org>
Mon, 31 Jan 2011 00:58:50 +0000 (00:58 +0000)
committerBen Gras <ben@minix3.org>
Mon, 31 Jan 2011 00:58:50 +0000 (00:58 +0000)
etc/usr/Makefile

index 706f8827bfe4050c83f7b8bed0a8eb7c57e9bb34..7726f640672b080ab22591951b3b0c27041c3985 100644 (file)
@@ -20,7 +20,7 @@ help all:
 .endif
        @echo ""
 
-pkgsrc-create:
+pkgsrc-create: git
        @echo "If problems occur you may have to rm -rf pkgsrc and try again."
        @echo ""
        mkdir -p ${.CURDIR}/pkgsrc
@@ -32,8 +32,11 @@ pkgsrc-create:
        cd ${.CURDIR}/pkgsrc && git checkout minix-master
        cd ${.CURDIR}/pkgsrc && git pull
 
-pkgsrc-checkout:
+pkgsrc-checkout: git
        cd ${.CURDIR}/pkgsrc && git checkout minix-master
 
-pkgsrc-update:
+pkgsrc-update: git
        cd ${.CURDIR}/pkgsrc && git pull
+
+git:
+       pkgin in scmgit-base