forked from enlightenment/efl
elua: use the new app loading system
This commit is contained in:
parent
544bf37c30
commit
bebe011676
|
@ -13,7 +13,7 @@ XGETTEXT_FALLBACK := $(XGETTEXT)
|
||||||
# Override xgettext with a LuaJIT aware variant (which calls
|
# Override xgettext with a LuaJIT aware variant (which calls
|
||||||
# into plain xgettext if it needs to, and handles Lua on its own)
|
# into plain xgettext if it needs to, and handles Lua on its own)
|
||||||
XGETTEXT = XGETTEXT=$(XGETTEXT_FALLBACK) EFL_RUN_IN_TREE=1 \
|
XGETTEXT = XGETTEXT=$(XGETTEXT_FALLBACK) EFL_RUN_IN_TREE=1 \
|
||||||
$(top_builddir)/src/bin/elua/elua $(top_builddir)/src/bin/elua/xgettext.lua
|
$(top_builddir)/src/bin/elua/elua :xgettext
|
||||||
|
|
||||||
# These options get passed to xgettext.
|
# These options get passed to xgettext.
|
||||||
XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --from-code=UTF-8 --foreign-user
|
XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --from-code=UTF-8 --foreign-user
|
||||||
|
|
|
@ -159,7 +159,7 @@ local opts, args = getopt.parse {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if not opts or opts["h"] or opts["v"] or #args == 0 then
|
if not opts or opts["h"] or opts["v"] then
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -205,9 +205,7 @@ if hasxgettext and not onlylua then
|
||||||
gargs[#gargs + 1] = v
|
gargs[#gargs + 1] = v
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if #gargs ~= ngargs then
|
cutil.exec(unpack(gargs))
|
||||||
cutil.exec(unpack(gargs))
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
return true
|
return true
|
Loading…
Reference in New Issue