diff options
author | Lukas Fleischer <cgit@cryptocrack.de> | 2013-06-18 21:42:09 (JST) |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2013-08-13 04:14:10 (JST) |
commit | 1a194aa2c79aa9514b4a2a302b05ba641811fc9f (patch) | |
tree | 18e80dbeb4e270b905e160495d4e4f619fb3da35 /Makefile | |
parent | 50e70d32f056c20db760328774d27524648fb739 (diff) | |
download | cgit-1a194aa2c79aa9514b4a2a302b05ba641811fc9f.zip cgit-1a194aa2c79aa9514b4a2a302b05ba641811fc9f.tar.gz |
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>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6,7 +6,7 @@ CGIT_SCRIPT_PATH = /var/www/htdocs/cgit | |||
6 | CGIT_DATA_PATH = $(CGIT_SCRIPT_PATH) | 6 | CGIT_DATA_PATH = $(CGIT_SCRIPT_PATH) |
7 | CGIT_CONFIG = /etc/cgitrc | 7 | CGIT_CONFIG = /etc/cgitrc |
8 | CACHE_ROOT = /var/cache/cgit | 8 | CACHE_ROOT = /var/cache/cgit |
9 | prefix = /usr | 9 | prefix = /usr/local |
10 | libdir = $(prefix)/lib | 10 | libdir = $(prefix)/lib |
11 | filterdir = $(libdir)/cgit/filters | 11 | filterdir = $(libdir)/cgit/filters |
12 | docdir = $(prefix)/share/doc/cgit | 12 | docdir = $(prefix)/share/doc/cgit |