* [PATCH] Makefile: Change default prefix to "/usr/local"
@ 2013-06-18 12:46 cgit
2013-08-12 18:51 ` Jason
0 siblings, 1 reply; 2+ messages in thread
From: cgit @ 2013-06-18 12:46 UTC (permalink / raw)
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 at cryptocrack.de>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 00b3269..77db339 100644
--- 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
--
1.8.3.1.491.g8a51f1c
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-08-12 18:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-18 12:46 [PATCH] Makefile: Change default prefix to "/usr/local" cgit
2013-08-12 18:51 ` Jason
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).