]> granicus.if.org Git - cgit/commitdiff
Makefile: avoid spurious rebuilds of git sources due to `sudo make`
authorLars Hjemli <hjemli@gmail.com>
Tue, 9 Nov 2010 17:08:38 +0000 (18:08 +0100)
committerLars Hjemli <hjemli@gmail.com>
Tue, 9 Nov 2010 23:20:50 +0000 (00:20 +0100)
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Makefile

index 15c7c20494501746a4f804d72743c8affc064b75..be1d7961b0a3bc5f36fedbb4df6c6cd71e5bae05 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -126,6 +126,8 @@ CFLAGS += -DCGIT_CONFIG='"$(CGIT_CONFIG)"'
 CFLAGS += -DCGIT_SCRIPT_NAME='"$(CGIT_SCRIPT_NAME)"'
 CFLAGS += -DCGIT_CACHE_ROOT='"$(CACHE_ROOT)"'
 
+GIT_OPTIONS = prefix=/usr
+
 ifdef NO_ICONV
        CFLAGS += -DNO_ICONV
 endif