]> granicus.if.org Git - cgit/commitdiff
README: document lua makefile flags
authorJason A. Donenfeld <Jason@zx2c4.com>
Tue, 14 Jan 2014 02:48:23 +0000 (03:48 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 14 Jan 2014 02:48:23 +0000 (03:48 +0100)
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
README

diff --git a/README b/README
index d79cd438fd78ca277bba87f36ed3568068bfc12b..7b7284251cf8c80ed8eb5bb1d13002a7863eeca5 100644 (file)
--- 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
 ------------