RE: compiling scripts to bytecode with Automake?

2014-06-20 Thread anonymous532
Sorry I have no idea how to properly reply to my initial message as I am not subscribed to the mailing list. Anyhow.. Never thought I would write this, but extending Automake is really easy! I'll write my solution here in case someone finds this with a search engine. Below is what I came up wit

compiling scripts to bytecode with Automake?

2014-06-19 Thread anonymous532
Hello, I have a C project which uses Autoconf and uses Lua for scripting. I want Automake to be able to compile the Lua scripts to bytecode with "luac". It is possible to compile a Lua script to bytecode like this: luac -o myscript.luac myscript.lua How do I instruct Automake to use luac to comp