about summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorLukas Fleischer2013-06-18 12:42:09 +0000
committerJason A. Donenfeld2013-08-12 13:14:10 -0600
commit1a194aa2c79aa9514b4a2a302b05ba641811fc9f (patch)
tree18e80dbeb4e270b905e160495d4e4f619fb3da35 /Makefile
parentUse strbuf for reading configuration files (diff)
downloadcgit-1a194aa2c79aa9514b4a2a302b05ba641811fc9f.tar.gz
cgit-1a194aa2c79aa9514b4a2a302b05ba641811fc9f.zip
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--Makefile2
1 files changed, 1 insertions, 1 deletions
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
6CGIT_DATA_PATH = $(CGIT_SCRIPT_PATH) 6CGIT_DATA_PATH = $(CGIT_SCRIPT_PATH)
7CGIT_CONFIG = /etc/cgitrc 7CGIT_CONFIG = /etc/cgitrc
8CACHE_ROOT = /var/cache/cgit 8CACHE_ROOT = /var/cache/cgit
9prefix = /usr 9prefix = /usr/local
10libdir = $(prefix)/lib 10libdir = $(prefix)/lib
11filterdir = $(libdir)/cgit/filters 11filterdir = $(libdir)/cgit/filters
12docdir = $(prefix)/share/doc/cgit 12docdir = $(prefix)/share/doc/cgit