aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
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".
+