aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
1 files changed, 3 insertions, 18 deletions
diff --git a/Makefile b/Makefile
index 1f9893a..33c606d 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ CGIT_DATA_PATH = $(CGIT_SCRIPT_PATH)
CGIT_CONFIG = /etc/cgitrc
CACHE_ROOT = /var/cache/cgit
SHA1_HEADER = <openssl/sha.h>
-GIT_VER = 1.6.3.4
+GIT_VER = 1.6.1.1
GIT_URL = http://www.kernel.org/pub/software/scm/git/git-$(GIT_VER).tar.bz2
INSTALL = install
@@ -100,8 +100,7 @@ ifdef NEEDS_LIBICONV
endif
-.PHONY: all libgit test install uninstall clean force-version get-git \
- doc man-doc html-doc clean-doc
+.PHONY: all libgit test install uninstall clean force-version get-git
all: cgit
@@ -150,22 +149,8 @@ uninstall:
rm -f $(CGIT_DATA_PATH)/cgit.css
rm -f $(CGIT_DATA_PATH)/cgit.png
-doc: man-doc html-doc pdf-doc
-
-man-doc: cgitrc.5.txt
- a2x -f manpage cgitrc.5.txt
-
-html-doc: cgitrc.5.txt
- a2x -f xhtml --stylesheet=cgit-doc.css cgitrc.5.txt
-
-pdf-doc: cgitrc.5.txt
- a2x -f pdf cgitrc.5.txt
-
-clean: clean-doc
+clean:
rm -f cgit VERSION *.o *.d
-clean-doc:
- rm -f cgitrc.5 cgitrc.5.html cgitrc.5.pdf cgitrc.5.xml cgitrc.5.fo
-
get-git:
curl $(GIT_URL) | tar -xj && rm -rf git && mv git-$(GIT_VER) git