summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 12fd652..fcbe3e4 100644
--- a/Makefile
+++ b/Makefile
@@ -6,2 +6,4 @@ CACHE_ROOT = /var/cache/cgit
6SHA1_HEADER = <openssl/sha.h> 6SHA1_HEADER = <openssl/sha.h>
7GIT_VER = 1.5.2
8GIT_URL = http://www.kernel.org/pub/software/scm/git/git-$(GIT_VER).tar.bz2
7 9
@@ -19,3 +21,3 @@ OBJECTS = shared.o cache.o parsing.o html.o ui-shared.o ui-repolist.o \
19 21
20.PHONY: all git install clean distclean force-version 22.PHONY: all git install clean distclean force-version get-git
21 23
@@ -66 +68,4 @@ distclean: clean
66 cd git && git clean -d -x 68 cd git && git clean -d -x
69
70get-git:
71 curl $(GIT_URL) | tar -xj && rm -rf git && mv git-$(GIT_VER) git