diff options
author | Daniel Kolesa <d.kolesa@samsung.com> | 2014-06-16 09:53:57 +0100 |
---|---|---|
committer | Daniel Kolesa <d.kolesa@samsung.com> | 2014-06-16 09:53:57 +0100 |
commit | f683a2dd2f0bd4884614f3fd823fe91c579dffe9 (patch) | |
tree | 3442d0c2300f4d8471f91c45d6d2d61c7346a319 /po | |
parent | f0c906231b04d9be99148a4c09a9ea6ca5a89375 (diff) |
po: xgettext_wrapper now respects EXEEXT
Diffstat (limited to 'po')
-rw-r--r-- | po/Makevars.in | 3 | ||||
-rwxr-xr-x | po/xgettext_wrapper.sh | 2 |
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) |
15 | XGETTEXT = ELUA=@elua_bin@ ELUA_INTREE=$(top_srcdir)/src/bin/elua/elua \ | 15 | XGETTEXT = 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. |
19 | XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --from-code=UTF-8 --foreign-user | 20 | XGETTEXT_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 @@ | |||
3 | ELUA_BIN="$ELUA" | 3 | ELUA_BIN="$ELUA" |
4 | 4 | ||
5 | if [ ! "$ELUA_BIN" ]; then | 5 | if [ ! "$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 |
8 | fi | 8 | fi |
9 | 9 | ||