summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--po/Makevars.in3
-rwxr-xr-xpo/xgettext_wrapper.sh2
2 files changed, 3 insertions, 2 deletions
diff --git a/po/Makevars.in b/po/Makevars.in
index b1663e71de..a04b074fcd 100644
--- a/po/Makevars.in
+++ b/po/Makevars.in
@@ -13,7 +13,8 @@ XGETTEXT_FALLBACK := $(XGETTEXT)
13# Override xgettext with a LuaJIT aware variant (which calls 13# Override xgettext with a LuaJIT aware variant (which calls
14# into plain xgettext if it needs to, and handles Lua on its own) 14# into plain xgettext if it needs to, and handles Lua on its own)
15XGETTEXT = ELUA=@elua_bin@ ELUA_INTREE=$(top_srcdir)/src/bin/elua/elua \ 15XGETTEXT = ELUA=@elua_bin@ ELUA_INTREE=$(top_srcdir)/src/bin/elua/elua \
16 XGETTEXT=$(XGETTEXT_FALLBACK) $(top_srcdir)/po/xgettext_wrapper.sh 16 XGETTEXT=$(XGETTEXT_FALLBACK) ELUA_EXT=@EXEEXT@ \
17 $(top_srcdir)/po/xgettext_wrapper.sh
17 18
18# These options get passed to xgettext. 19# These options get passed to xgettext.
19XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --from-code=UTF-8 --foreign-user 20XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --from-code=UTF-8 --foreign-user
diff --git a/po/xgettext_wrapper.sh b/po/xgettext_wrapper.sh
index 73463bc4c7..050bae5505 100755
--- a/po/xgettext_wrapper.sh
+++ b/po/xgettext_wrapper.sh
@@ -3,7 +3,7 @@
3ELUA_BIN="$ELUA" 3ELUA_BIN="$ELUA"
4 4
5if [ ! "$ELUA_BIN" ]; then 5if [ ! "$ELUA_BIN" ]; then
6 ELUA_BIN="$ELUA_INTREE" 6 ELUA_BIN="${ELUA_INTREE}${ELUA_EXT}"
7 export EFL_RUN_IN_TREE=1 7 export EFL_RUN_IN_TREE=1
8fi 8fi
9 9