From 0d0a8948677cb29e2d99dc353f9ff71014fa9bac Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Thu, 11 Oct 2012 18:31:55 +0400 Subject: Added Git support --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'README.md') 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". + -- cgit v1.2.3