build-sys: add NLS support
Add GNU gettext internationalization and localization support. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
@ -54,6 +54,13 @@ echo " libtoolize: $(libtoolize --version | head -1)"
|
||||
rm -rf autom4te.cache
|
||||
|
||||
set -e
|
||||
po/update-potfiles
|
||||
autopoint --force $AP_OPTS
|
||||
if ! grep -q datarootdir po/Makefile.in.in; then
|
||||
echo autopoint does not honor dataroot variable, patching.
|
||||
sed -i -e 's/^datadir *=\(.*\)/datarootdir = @datarootdir@\
|
||||
datadir = @datadir@/g' po/Makefile.in.in
|
||||
fi
|
||||
libtoolize --force ${LT_OPTS}
|
||||
aclocal -I m4 ${AL_OPTS}
|
||||
autoconf ${AC_OPTS}
|
||||
|
Reference in New Issue
Block a user