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:
parent
50e70d32f0
commit
1a194aa2c7
2
Makefile
2
Makefile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user