forked from enlightenment/efl
elua: use a xgettext wrapper
This commit is contained in:
parent
57ebf0e02c
commit
b8d867b679
|
@ -7,6 +7,12 @@ DOMAIN = $(PACKAGE)
|
||||||
subdir = po
|
subdir = po
|
||||||
top_builddir = ..
|
top_builddir = ..
|
||||||
|
|
||||||
|
# Save xgettext path
|
||||||
|
XGETTEXT_FALLBACK := $(XGETTEXT)
|
||||||
|
|
||||||
|
# Override xgettext with our own custom wrapper
|
||||||
|
XGETTEXT = $(srcdir)/xgettext_wrapper $(XGETTEXT_FALLBACK)
|
||||||
|
|
||||||
# These options get passed to xgettext.
|
# These options get passed to xgettext.
|
||||||
XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --from-code=UTF-8 --foreign-user
|
XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --from-code=UTF-8 --foreign-user
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
XGETTEXT=$1
|
||||||
|
shift
|
||||||
|
$XGETTEXT "$@"
|
||||||
|
exit $?
|
Loading…
Reference in New Issue