Diff options
| -rw-r--r-- | README.txt | 11 |
1 file changed, 9 insertions, 2 deletions
@@ -33,8 +33,15 @@ With the Git tree in place, build and install cgit. This installs cgit.cgi, cgit.css, cgit.js, cgit.png, favicon.ico and robots.txt into /var/www/htdocs/cgit, and the Lua filters from custom/extensions into -/usr/local/lib/cgit/filters. The locations and a few other things can be changed -by providing a cgit.conf file, see the Makefile for details. +/usr/local/lib/cgit/filters. The server configs in custom/servers/ look for the +binary in /usr/lib/cgit and the other five files in /usr/share/cgit instead. To +install there, put these two lines in a file named cgit.conf next to the +Makefile before running make install. + + CGIT_SCRIPT_PATH = /usr/lib/cgit + CGIT_DATA_PATH = /usr/share/cgit + +The Makefile lists the other variables cgit.conf can set, prefix among them. On a musl system such as Alpine, Git's code also needs the Linux kernel headers, packaged there as linux-headers, and its bundled regex in place of musl's, which |
