# Exit on error:
set -e

wget http://ftpmirror.gnu.org/texinfo/texinfo-4.13a.tar.gz
tar xf texinfo-4.13a.tar.gz
cd texinfo-4.13
./configure --prefix=
make install
cd ..
rm -rf texinfo-4.13
rm texinfo-4.13a.tar.gz

cd /share/info
rm dir
for f in *
    do install-info $f dir 2>/dev/null
done

exit 0
