]> gitweb.ps.run Git - ps-cgit/blobdiff - README
makefile: use LUA_PKGCONFIG to set Lua implementation
[ps-cgit] / README
diff --git a/README b/README
index d79cd438fd78ca277bba87f36ed3568068bfc12b..faf18512d2acf98c284d8128798c91187687a132 100644 (file)
--- a/README
+++ b/README
@@ -32,13 +32,26 @@ 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_PKGCONFIG=lua5.1
+
+If this is not specified, the Lua implementation will be auto-detected,
+preferring LuaJIT if many are present. Acceptable values are generally "lua",
+"luajit", "lua5.1", and "lua5.2".
+
+
 Dependencies
 ------------
 
 * libzip
 * libcrypto (OpenSSL)
 * libssl (OpenSSL)
-* optional: luajit or lua
+* optional: luajit or lua, most reliably used when pkg-config is available
 
 Apache configuration
 --------------------