po: cleaner extension handling in xgettext wrapper

This commit is contained in:
Daniel Kolesa 2014-06-16 11:19:46 +01:00
parent ff5a57aafd
commit 3f20c958b2
2 changed files with 3 additions and 3 deletions

View File

@ -12,8 +12,8 @@ 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 = ELUA="@elua_bin@" ELUA_INTREE="$(top_srcdir)/src/bin/elua/elua" \
XGETTEXT="$(XGETTEXT_FALLBACK)" ELUA_EXT="@EXEEXT@" \
XGETTEXT = ELUA_INTREE="$(top_srcdir)/src/bin/elua/elua@EXEEXT@" \
ELUA="@elua_bin@" XGETTEXT="$(XGETTEXT_FALLBACK)" \
$(top_srcdir)/po/xgettext_wrapper.sh
# These options get passed to xgettext.

View File

@ -3,7 +3,7 @@
ELUA_BIN="$ELUA"
if [ ! "$ELUA_BIN" ]; then
ELUA_BIN="${ELUA_INTREE}${ELUA_EXT}"
ELUA_BIN="${ELUA_INTREE}"
export EFL_RUN_IN_TREE=1
fi