summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2014-06-16 11:19:46 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2014-06-16 11:19:46 +0100
commit3f20c958b26537a6c68967102dd80316b1cbda2c (patch)
treea74d223393dff48b11d7aa447f67470ac811066f /po
parentff5a57aafd6e383ce258b31c7eb3875aa3b03093 (diff)
po: cleaner extension handling in xgettext wrapper
Diffstat (limited to 'po')
-rw-r--r--po/Makevars.in4
-rwxr-xr-xpo/xgettext_wrapper.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/po/Makevars.in b/po/Makevars.in
index 00d6f9aa8d..0350cbc899 100644
--- a/po/Makevars.in
+++ b/po/Makevars.in
@@ -12,8 +12,8 @@ XGETTEXT_FALLBACK := $(XGETTEXT)
12 12
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_INTREE="$(top_srcdir)/src/bin/elua/elua@EXEEXT@" \
16 XGETTEXT="$(XGETTEXT_FALLBACK)" ELUA_EXT="@EXEEXT@" \ 16 ELUA="@elua_bin@" XGETTEXT="$(XGETTEXT_FALLBACK)" \
17 $(top_srcdir)/po/xgettext_wrapper.sh 17 $(top_srcdir)/po/xgettext_wrapper.sh
18 18
19# These options get passed to xgettext. 19# These options get passed to xgettext.
diff --git a/po/xgettext_wrapper.sh b/po/xgettext_wrapper.sh
index 050bae5505..17ca08e486 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}${ELUA_EXT}" 6 ELUA_BIN="${ELUA_INTREE}"
7 export EFL_RUN_IN_TREE=1 7 export EFL_RUN_IN_TREE=1
8fi 8fi
9 9