CWD=$(pwd)
cd usr/info
if [ -f dir ];then
    rm dir
fi
if [ -f dir.gz ];then
    rm dir.gz
fi
for i in *.info.gz;do
    install-info $i dir
done
cd $CWD

( cd usr/lib ; rm -rf libguile-srfi-srfi-1-v-3.so )
( cd usr/lib ; ln -sf libguile-srfi-srfi-1-v-3.so.3.0.2 libguile-srfi-srfi-1-v-3.so )
( cd usr/lib ; rm -rf libguilereadline-v-17.so.17 )
( cd usr/lib ; ln -sf libguilereadline-v-17.so.17.0.3 libguilereadline-v-17.so.17 )
( cd usr/lib ; rm -rf libguile-srfi-srfi-4-v-3.so )
( cd usr/lib ; ln -sf libguile-srfi-srfi-4-v-3.so.3.0.1 libguile-srfi-srfi-4-v-3.so )
( cd usr/lib ; rm -rf libguile-srfi-srfi-1-v-3.so.3 )
( cd usr/lib ; ln -sf libguile-srfi-srfi-1-v-3.so.3.0.2 libguile-srfi-srfi-1-v-3.so.3 )
( cd usr/lib ; rm -rf libguile.so )
( cd usr/lib ; ln -sf libguile.so.17.4.0 libguile.so )
( cd usr/lib ; rm -rf libguilereadline-v-17.so )
( cd usr/lib ; ln -sf libguilereadline-v-17.so.17.0.3 libguilereadline-v-17.so )
( cd usr/lib ; rm -rf libguile-srfi-srfi-60-v-2.so )
( cd usr/lib ; ln -sf libguile-srfi-srfi-60-v-2.so.2.0.2 libguile-srfi-srfi-60-v-2.so )
( cd usr/lib ; rm -rf libguile-srfi-srfi-13-14-v-3.so )
( cd usr/lib ; ln -sf libguile-srfi-srfi-13-14-v-3.so.3.0.1 libguile-srfi-srfi-13-14-v-3.so )
( cd usr/lib ; rm -rf libguile-srfi-srfi-13-14-v-3.so.3 )
( cd usr/lib ; ln -sf libguile-srfi-srfi-13-14-v-3.so.3.0.1 libguile-srfi-srfi-13-14-v-3.so.3 )
( cd usr/lib ; rm -rf libguile-srfi-srfi-4-v-3.so.3 )
( cd usr/lib ; ln -sf libguile-srfi-srfi-4-v-3.so.3.0.1 libguile-srfi-srfi-4-v-3.so.3 )
( cd usr/lib ; rm -rf libguile-srfi-srfi-60-v-2.so.2 )
( cd usr/lib ; ln -sf libguile-srfi-srfi-60-v-2.so.2.0.2 libguile-srfi-srfi-60-v-2.so.2 )
( cd usr/lib ; rm -rf libguile.so.17 )
( cd usr/lib ; ln -sf libguile.so.17.4.0 libguile.so.17 )
