aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-10-11 18:31:55 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-10-11 18:31:55 +0400
commit0d0a8948677cb29e2d99dc353f9ff71014fa9bac (patch)
treee187ebc79a23aa74db7e35700883c7f3bba341a7 /README.md
parent903e59702659a69466e991fbcb2fdcc7b42837b9 (diff)
downloadcibs-0d0a8948677cb29e2d99dc353f9ff71014fa9bac.tar.gz
Added Git support
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md
index c917e79..c03decd 100644
--- a/README.md
+++ b/README.md
@@ -75,3 +75,17 @@ are in "work/manifests" directory.
Any variable defined in Makefile will be passed to `pkgmogrify` and
can be used in IPS manifests (*.p5m).
+
+## git.mk
+
+Use this modules to get sources from Git repositories. With this module included
+targets `download` and `unpack` mean the same thing - clone git reporitory into
+source directory ("work/source"), then checkout given tag, commit or branch.
+
+Makefile should define two variables:
+
+* `git-url` - URL of Git repository, used as `git clone $(git-url) $(sourcedir)`
+* `git-checkout` - Git tag, branch or commit; used as `git checkout $(git-checkout)`
+
+For example see "examples/symlinks".
+