From 1a194aa2c79aa9514b4a2a302b05ba641811fc9f Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 18 Jun 2013 12:42:09 +0000 Subject: [PATCH] Makefile: Change default prefix to "/usr/local" 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f11b60f..49b6b0c 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