author | Lars Hjemli <hjemli@gmail.com> | 2007-05-15 16:38:31 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-05-15 16:41:31 (UTC) |
commit | ad3b39d3b8443e142a6bfee34d527c99cd5f280d (patch) (unidiff) | |
tree | ac90d617f9468840472a45d33b892ecb90203013 | |
parent | c94afaacf4f996e3c983bcc150a2bacde2b00f20 (diff) | |
download | cgit-ad3b39d3b8443e142a6bfee34d527c99cd5f280d.zip cgit-ad3b39d3b8443e142a6bfee34d527c99cd5f280d.tar.gz cgit-ad3b39d3b8443e142a6bfee34d527c99cd5f280d.tar.bz2 |
Include cgit.conf in Makefile
This allows persistent overrides of Makefile settings without touching
the Makefile.
Suggested in a patch by Kristian Høgsberg <krh@bitplanet.net>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -7,6 +7,11 @@ CACHE_ROOT = /var/cache/cgit | |||
7 | CGIT_CONFIG = /etc/cgitrc | 7 | CGIT_CONFIG = /etc/cgitrc |
8 | CGIT_SCRIPT_NAME = cgit.cgi | 8 | CGIT_SCRIPT_NAME = cgit.cgi |
9 | 9 | ||
10 | # | ||
11 | # Let the user override the above settings. | ||
12 | # | ||
13 | -include cgit.conf | ||
14 | |||
10 | EXTLIBS = git/libgit.a git/xdiff/lib.a -lz -lcrypto | 15 | EXTLIBS = git/libgit.a git/xdiff/lib.a -lz -lcrypto |
11 | OBJECTS = shared.o cache.o parsing.o html.o ui-shared.o ui-repolist.o \ | 16 | OBJECTS = shared.o cache.o parsing.o html.o ui-shared.o ui-repolist.o \ |
12 | ui-summary.o ui-log.o ui-view.o ui-tree.o ui-commit.o ui-diff.o \ | 17 | ui-summary.o ui-log.o ui-view.o ui-tree.o ui-commit.o ui-diff.o \ |