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 <cgit@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2013-06-18 12:42:09 +00:00 committed by Jason A. Donenfeld
parent 50e70d32f0
commit 1a194aa2c7

View File

@ -6,7 +6,7 @@ CGIT_SCRIPT_PATH = /var/www/htdocs/cgit
CGIT_DATA_PATH = $(CGIT_SCRIPT_PATH) CGIT_DATA_PATH = $(CGIT_SCRIPT_PATH)
CGIT_CONFIG = /etc/cgitrc CGIT_CONFIG = /etc/cgitrc
CACHE_ROOT = /var/cache/cgit CACHE_ROOT = /var/cache/cgit
prefix = /usr prefix = /usr/local
libdir = $(prefix)/lib libdir = $(prefix)/lib
filterdir = $(libdir)/cgit/filters filterdir = $(libdir)/cgit/filters
docdir = $(prefix)/share/doc/cgit docdir = $(prefix)/share/doc/cgit