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
|
||||
# into plain xgettext if it needs to, and handles Lua on its own)
|
||||
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.
|
||||
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
|
||||
end
|
||||
|
||||
|
@ -205,9 +205,7 @@ if hasxgettext and not onlylua then
|
|||
gargs[#gargs + 1] = v
|
||||
end
|
||||
end
|
||||
if #gargs ~= ngargs then
|
||||
cutil.exec(unpack(gargs))
|
||||
end
|
||||
cutil.exec(unpack(gargs))
|
||||
end
|
||||
|
||||
return true
|
Loading…
Reference in New Issue