Commit: f9e395c48797c2b3326c0093ade88138fe4bea8a
Parent: 9fa248a60806a56931b094f8ac0190def4a9046d
Author: Michael Forney
Date: Wed, 7 Feb 2024 20:46:40 -0800
lua: Build luac
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/pkg/lang/lua/gen.lua b/pkg/lang/lua/gen.lua
@@ -21,6 +21,10 @@ file('lib/liblua.a', '644', '$outdir/liblua.a')
exe('lua', {'src/lua.c', 'liblua.a'})
file('bin/lua5.2', '755', '$outdir/lua')
sym('bin/lua', 'lua5.2')
-man({'doc/lua.1'})
+exe('luac', {'src/luac.c', 'liblua.a'})
+file('bin/luac5.2', '755', '$outdir/luac')
+sym('bin/luac', 'luac5.2')
+
+man({'doc/lua.1', 'doc/luac.1'})
fetch('curl')