From: Ben Gras Date: Mon, 31 Jan 2011 00:58:50 +0000 (+0000) Subject: /usr/Makefile - automatically install git X-Git-Tag: v3.2.0~691 X-Git-Url: http://zhaoyanbai.com/repos/FAQ?a=commitdiff_plain;h=06aab2c6ed6933bc9138d399585898d7f147e0a1;p=minix.git /usr/Makefile - automatically install git --- diff --git a/etc/usr/Makefile b/etc/usr/Makefile index 706f8827b..7726f6406 100644 --- a/etc/usr/Makefile +++ b/etc/usr/Makefile @@ -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