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) (side-by-side diff) | |
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
@@ -4,12 +4,17 @@ prefix = /var/www/htdocs/cgit SHA1_HEADER = <openssl/sha.h> CACHE_ROOT = /var/cache/cgit CGIT_CONFIG = /etc/cgitrc CGIT_SCRIPT_NAME = cgit.cgi +# +# Let the user override the above settings. +# +-include cgit.conf + EXTLIBS = git/libgit.a git/xdiff/lib.a -lz -lcrypto OBJECTS = shared.o cache.o parsing.o html.o ui-shared.o ui-repolist.o \ ui-summary.o ui-log.o ui-view.o ui-tree.o ui-commit.o ui-diff.o \ ui-snapshot.o ui-blob.o CFLAGS += -Wall |