[PATCH] Makefile: Change default prefix to "/usr/local"
Lukas Fleischer
cgit at cryptocrack.de
Tue Jun 18 14:46:34 CEST 2013
Locally installed packages are usually installed to /usr/local.
Packagers can use `make prefix=/usr` to get back the old behavior.
Signed-off-by: Lukas Fleischer <cgit at cryptocrack.de>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 00b3269..77db339 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ CGIT_SCRIPT_PATH = /var/www/htdocs/cgit
CGIT_DATA_PATH = $(CGIT_SCRIPT_PATH)
CGIT_CONFIG = /etc/cgitrc
CACHE_ROOT = /var/cache/cgit
-prefix = /usr
+prefix = /usr/local
libdir = $(prefix)/lib
filterdir = $(libdir)/cgit/filters
docdir = $(prefix)/share/doc/cgit
--
1.8.3.1.491.g8a51f1c
More information about the CGit
mailing list