diff options
author | Igor Pashev <igor.pashev@nexenta.com> | 2012-10-11 18:31:55 +0400 |
---|---|---|
committer | Igor Pashev <igor.pashev@nexenta.com> | 2012-10-11 18:31:55 +0400 |
commit | 0d0a8948677cb29e2d99dc353f9ff71014fa9bac (patch) | |
tree | e187ebc79a23aa74db7e35700883c7f3bba341a7 /README.md | |
parent | 903e59702659a69466e991fbcb2fdcc7b42837b9 (diff) | |
download | cibs-0d0a8948677cb29e2d99dc353f9ff71014fa9bac.tar.gz |
Added Git support
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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". + |