forked from enlightenment/efl
po: disable xgettext_wrapper for the time being (not really used and possibly won't be)
This commit is contained in:
parent
513d6f397e
commit
1884e4813a
16
Makefile.am
16
Makefile.am
|
@ -104,9 +104,7 @@ old/README.evas \
|
||||||
old/README.evil \
|
old/README.evil \
|
||||||
spec/efl.spec \
|
spec/efl.spec \
|
||||||
pkgbuild/PKGBUILD \
|
pkgbuild/PKGBUILD \
|
||||||
pkgbuild/efl.install \
|
pkgbuild/efl.install
|
||||||
po/xgettext_wrapper.sh \
|
|
||||||
po/Makevars.in
|
|
||||||
|
|
||||||
if HAVE_FREEBSD
|
if HAVE_FREEBSD
|
||||||
pkgconfigdir = $(libdir)data/pkgconfig
|
pkgconfigdir = $(libdir)data/pkgconfig
|
||||||
|
@ -437,15 +435,3 @@ pkgbuild::
|
||||||
|
|
||||||
clean-local:
|
clean-local:
|
||||||
rm -rf benchmark coverage
|
rm -rf benchmark coverage
|
||||||
|
|
||||||
# Makevars is generated in top source directory, even for out-of-tree
|
|
||||||
distclean-local:
|
|
||||||
rm -f $(top_srcdir)/po/Makevars
|
|
||||||
|
|
||||||
# we need this to remove Makevars from dist
|
|
||||||
dist-hook:
|
|
||||||
rm -f $(distdir)/po/Makevars
|
|
||||||
|
|
||||||
# in dist tree po is read only, and we need to generate Makevars in there
|
|
||||||
distcheck-hook:
|
|
||||||
chmod +w $(distdir)/po
|
|
||||||
|
|
|
@ -248,14 +248,12 @@ AM_GNU_GETTEXT_VERSION([0.18])
|
||||||
m4_ifdef([AC_GNU_GETTEXT], [
|
m4_ifdef([AC_GNU_GETTEXT], [
|
||||||
AC_GNU_GETTEXT([external])
|
AC_GNU_GETTEXT([external])
|
||||||
po_makefile_in=po/Makefile.in
|
po_makefile_in=po/Makefile.in
|
||||||
po_makevars="${srcdir}/po/Makevars:po/Makevars.in"
|
|
||||||
have_po="yes"
|
have_po="yes"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
m4_ifdef([AM_GNU_GETTEXT], [
|
m4_ifdef([AM_GNU_GETTEXT], [
|
||||||
AM_GNU_GETTEXT([external])
|
AM_GNU_GETTEXT([external])
|
||||||
po_makefile_in=po/Makefile.in
|
po_makefile_in=po/Makefile.in
|
||||||
po_makevars="${srcdir}/po/Makevars:po/Makevars.in"
|
|
||||||
have_po="yes"
|
have_po="yes"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
@ -4539,7 +4537,6 @@ dbus-services/org.enlightenment.Ethumb.service
|
||||||
systemd-services/efreet.service
|
systemd-services/efreet.service
|
||||||
systemd-services/ethumb.service
|
systemd-services/ethumb.service
|
||||||
$po_makefile_in
|
$po_makefile_in
|
||||||
$po_makevars
|
|
||||||
cmakeconfig/EflConfig.cmake
|
cmakeconfig/EflConfig.cmake
|
||||||
cmakeconfig/EflConfigVersion.cmake:cmakeconfig/EFLConfigVersion.cmake.in
|
cmakeconfig/EflConfigVersion.cmake:cmakeconfig/EFLConfigVersion.cmake.in
|
||||||
cmakeconfig/EinaConfig.cmake
|
cmakeconfig/EinaConfig.cmake
|
||||||
|
|
|
@ -7,15 +7,6 @@ DOMAIN = $(PACKAGE)
|
||||||
subdir = po
|
subdir = po
|
||||||
top_builddir = ..
|
top_builddir = ..
|
||||||
|
|
||||||
# Save xgettext path
|
|
||||||
XGETTEXT_FALLBACK := $(XGETTEXT)
|
|
||||||
|
|
||||||
# Override xgettext with a LuaJIT aware variant (which calls
|
|
||||||
# into plain xgettext if it needs to, and handles Lua on its own)
|
|
||||||
XGETTEXT = ELUA_INTREE="$(top_srcdir)/src/bin/elua/elua@EXEEXT@" \
|
|
||||||
ELUA="@elua_bin@" XGETTEXT="$(XGETTEXT_FALLBACK)" \
|
|
||||||
$(top_srcdir)/po/xgettext_wrapper.sh
|
|
||||||
|
|
||||||
# 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
|
||||||
|
|
|
@ -1,16 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
ELUA_BIN="$ELUA"
|
|
||||||
|
|
||||||
if [ ! "$ELUA_BIN" ]; then
|
|
||||||
ELUA_BIN="${ELUA_INTREE}"
|
|
||||||
export EFL_RUN_IN_TREE=1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -x "$ELUA_BIN" ]; then
|
|
||||||
$ELUA_BIN xgettext "$@"
|
|
||||||
else
|
|
||||||
$XGETTEXT "$@"
|
|
||||||
fi
|
|
||||||
|
|
||||||
exit $?
|
|
Loading…
Reference in New Issue