]> git.cameronkatri.com Git - cgit.git/commitdiff
Makefile: Change default prefix to "/usr/local"
authorLukas Fleischer <cgit@cryptocrack.de>
Tue, 18 Jun 2013 12:42:09 +0000 (12:42 +0000)
committerJason A. Donenfeld <Jason@zx2c4.com>
Mon, 12 Aug 2013 19:14:10 +0000 (13:14 -0600)
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>
Makefile

index f11b60f702a166142fe5144a3f75cade62a26fa3..49b6b0c10bd624a8093af6c02a90d32a1844fa81 100644 (file)
--- 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