summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2014-06-16 09:53:57 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2014-06-16 09:53:57 +0100
commitf683a2dd2f0bd4884614f3fd823fe91c579dffe9 (patch)
tree3442d0c2300f4d8471f91c45d6d2d61c7346a319 /po
parentf0c906231b04d9be99148a4c09a9ea6ca5a89375 (diff)
po: xgettext_wrapper now respects EXEEXT
Diffstat (limited to 'po')
-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