summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorDaniel Kolesa <quaker66@gmail.com>2014-05-06 13:44:56 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2014-06-10 15:48:50 +0100
commitfcbf219de4559690f3ff97bba0782d511357ec21 (patch)
treeaabf3623b1ba9ac0ae955c0e3a4a62fef3dcdcaf /po
parentcbeaf5b58ad630f459f91d15de5ce8a3db6c6740 (diff)
elua: remove xgettext_wrapper, instead expand the whole command into Makevars
Diffstat (limited to 'po')
-rw-r--r--po/Makevars6
-rwxr-xr-xpo/xgettext_wrapper10
2 files changed, 4 insertions, 12 deletions
diff --git a/po/Makevars b/po/Makevars
index 0b56f80f30..71266a8188 100644
--- a/po/Makevars
+++ b/po/Makevars
@@ -10,8 +10,10 @@ top_builddir = ..
10# Save xgettext path 10# Save xgettext path
11XGETTEXT_FALLBACK := $(XGETTEXT) 11XGETTEXT_FALLBACK := $(XGETTEXT)
12 12
13# Override xgettext with our own custom wrapper 13# Override xgettext with a LuaJIT aware variant (which calls
14XGETTEXT = $(srcdir)/xgettext_wrapper $(top_builddir) $(XGETTEXT_FALLBACK) 14# into plain xgettext if it needs to, and handles Lua on its own)
15XGETTEXT = XGETTEXT=$(XGETTEXT_FALLBACK) EFL_RUN_IN_TREE=1 \
16 $(top_builddir)/src/bin/elua/elua $(top_builddir)/src/bin/elua/xgettext.lua
15 17
16# These options get passed to xgettext. 18# These options get passed to xgettext.
17XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --from-code=UTF-8 --foreign-user 19XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --from-code=UTF-8 --foreign-user
diff --git a/po/xgettext_wrapper b/po/xgettext_wrapper
deleted file mode 100755
index d65c8d0959..0000000000
--- a/po/xgettext_wrapper
+++ /dev/null
@@ -1,10 +0,0 @@
1#!/bin/sh
2ELUAPATH=$1/src/bin/elua
3ELUA=${ELUAPATH}/elua
4LXGETTEXT=${ELUAPATH}/xgettext.lua
5export XGETTEXT=$2
6export EFL_RUN_IN_TREE=1
7shift
8shift
9$ELUA $LXGETTEXT "$@"
10exit $?