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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
#!/bin/sh
# get the latest translations
echo
echo "#### get the latest translations"
rsync -Lrtvz translationproject.org::tp/latest/indent/ po
echo
echo "#### making README"
touch README
echo
echo "#### Running autopoint"
#gettextize --version
#gettextize --copy --force --intl --no-changelog
autopoint --version
autopoint -f
echo
echo "#### getting libgettext.h"
cp /usr/share/gettext/gettext.h src/libgettext.h
echo
echo "#### running aclocal"
aclocal --version
aclocal -I m4 -I ./aclocal
if [ $? -ne 0 ]
then
exit
fi
echo
echo "#### running autoheader"
autoheader --version
autoheader
echo
echo "#### running autoconf"
autoconf --version
autoconf
# get the latest config files.
cd config
wget -q "http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess"
wget -q "http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub"
cd ..
echo
echo "#### running automake"
automake --version
automake --add-missing
rm README
./configure --enable-maintainer-mode
|