1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
#!/bin/sh
set -e
echo "Running libtoolize..."
libtoolize --copy --force --automake
echo "Running autopoint..."
autopoint --force
echo "Running intltoolize..."
intltoolize --copy --force --automake
sed() { local fname perm; fname=$(eval echo \$$#); perm="$(stat -c "%a" "$fname")"; env sed "$@"; chmod "$perm" "$fname"; }
sed -e "s|\@INSTOBJEXT\@|.mo|" -i'~' po/Makefile.in.in
sed -e "s|\@CATOBJEXT\@|.gmo|" -i'~' po/Makefile.in.in
sed -e "s|\@GENCAT\@|gencat|" -i'~' po/Makefile.in.in
unset -f sed
echo "Running aclocal..."
aclocal -I m4
echo "Running autoconf..."
autoconf
echo "Running automake..."
automake -a --copy
|