X-Git-Url: https://git.cameronkatri.com/cgit.git/blobdiff_plain/93397a765b9d9af11b7d10c114406e303ea4fb1c..140012d7a8e51df5a9f9c556696778b86ade4fc9:/Makefile?ds=inline diff --git a/Makefile b/Makefile index 302ff4c..561af76 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ -CGIT_VERSION = v0.7.2 +CGIT_VERSION = v0.8.1 CGIT_SCRIPT_NAME = cgit.cgi CGIT_SCRIPT_PATH = /var/www/htdocs/cgit CGIT_CONFIG = /etc/cgitrc CACHE_ROOT = /var/cache/cgit SHA1_HEADER = -GIT_VER = 1.6.0.1 +GIT_VER = 1.6.0.2 GIT_URL = http://www.kernel.org/pub/software/scm/git/git-$(GIT_VER).tar.bz2 # @@ -93,9 +93,12 @@ CFLAGS += -DCGIT_CONFIG='"$(CGIT_CONFIG)"' CFLAGS += -DCGIT_SCRIPT_NAME='"$(CGIT_SCRIPT_NAME)"' CFLAGS += -DCGIT_CACHE_ROOT='"$(CACHE_ROOT)"' +ifdef NO_ICONV + CFLAGS += -DNO_ICONV +endif cgit: $(OBJECTS) libgit - $(QUIET_CC)$(CC) $(CFLAGS) -o cgit $(OBJECTS) $(EXTLIBS) + $(QUIET_CC)$(CC) $(CFLAGS) $(LDFLAGS) -o cgit $(OBJECTS) $(EXTLIBS) cgit.o: VERSION