aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2014-01-14 03:48:23 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2014-01-14 03:48:23 +0100
commit027e88a1a150cd468943cda3a4b8e6bd6e662376 (patch)
tree0a512659d27210c2ab7f5a91e127dde3fc7ea603 /README
parent70546a34583923a73da6fb89c2efb85801294dc1 (diff)
downloadcgit-027e88a1a150cd468943cda3a4b8e6bd6e662376.tar.gz
cgit-027e88a1a150cd468943cda3a4b8e6bd6e662376.tar.bz2
README: document lua makefile flags
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'README')
-rw-r--r--README16
1 files changed, 16 insertions, 0 deletions
diff --git a/README b/README
index d79cd43..7b72842 100644
--- a/README
+++ b/README
@@ -32,6 +32,22 @@ This will install `cgit.cgi` and `cgit.css` into `/var/www/htdocs/cgit`. You
can configure this location (and a few other things) by providing a `cgit.conf`
file (see the Makefile for details).
+If you'd like to compile without Lua support, you may use:
+
+ $ make NO_LUA=1
+
+And if you'd like to specify a Lua implementation, you may use:
+
+ $ make LUA_IMPLEMENTATION=JIT
+
+for using the LuaJIT project. Or:
+
+ $ make LUA_IMPLEMENTATION=VANILLA
+
+for the mainline Lua project. If you specify neither implementation, it will
+be auto-detected, preferring LuaJIT if both are present.
+
+
Dependencies
------------