mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-12-04 10:58:28 +00:00
fix script integration
This commit is contained in:
parent
7531409809
commit
18dda7629b
@ -47,11 +47,11 @@ lsyncd_LDADD += luac.o
|
||||
|
||||
luac.o: luac.c
|
||||
|
||||
luac.c: luac.out bin2carray.lua
|
||||
lua ./bin2carray.lua luac.out luac luac.c
|
||||
|
||||
luac.out: lsyncd.lua
|
||||
luac $<
|
||||
|
||||
luac.c: lsyncd.lua bin2carray.lua
|
||||
lua ./bin2carray.lua lsyncd.lua luac luac.c
|
||||
|
||||
endif
|
||||
|
||||
|
@ -26,7 +26,7 @@ end
|
||||
|
||||
fout:write("/* created by "..arg[0].." from file "..arg[1].." */\n")
|
||||
fout:write("#include <stddef.h>\n")
|
||||
fout:write("const unsigned char "..arg[2].."_out[] = {\n")
|
||||
fout:write("const char "..arg[2].."_out[] = {\n")
|
||||
while true do
|
||||
local block = fin:read(16)
|
||||
if block == nil then
|
||||
|
Loading…
Reference in New Issue
Block a user