autogen.sh revision 2063a1ca5ca5fdbb46dacde43cf01668bdff42cb
2dd3faebcd3cfd00efda38ffd2585d675e696b12Stephen Gallagher#!/bin/sh
2dd3faebcd3cfd00efda38ffd2585d675e696b12Stephen Gallagher
2dd3faebcd3cfd00efda38ffd2585d675e696b12Stephen Gallagher# If you've non-standard directories, set these
2dd3faebcd3cfd00efda38ffd2585d675e696b12Stephen Gallagher#ACLOCAL_DIR=
2dd3faebcd3cfd00efda38ffd2585d675e696b12Stephen Gallagher#GETTEXT_DIR=
2dd3faebcd3cfd00efda38ffd2585d675e696b12Stephen Gallagher
2dd3faebcd3cfd00efda38ffd2585d675e696b12Stephen Gallagherif test "$ACLOCAL_DIR" != ""; then
2dd3faebcd3cfd00efda38ffd2585d675e696b12Stephen Gallagher ACLOCAL="aclocal -I $ACLOCAL_DIR"
2dd3faebcd3cfd00efda38ffd2585d675e696b12Stephen Gallagher export ACLOCAL
2dd3faebcd3cfd00efda38ffd2585d675e696b12Stephen Gallagherfi
2dd3faebcd3cfd00efda38ffd2585d675e696b12Stephen Gallagher
2dd3faebcd3cfd00efda38ffd2585d675e696b12Stephen Gallagherfor dir in $GETTEXT_DIR /usr/share/gettext; do
2dd3faebcd3cfd00efda38ffd2585d675e696b12Stephen Gallagher if test -f $dir/config.rpath; then
2dd3faebcd3cfd00efda38ffd2585d675e696b12Stephen Gallagher /bin/cp -f $dir/config.rpath .
2dd3faebcd3cfd00efda38ffd2585d675e696b12Stephen Gallagher break
2dd3faebcd3cfd00efda38ffd2585d675e696b12Stephen Gallagher fi
2dd3faebcd3cfd00efda38ffd2585d675e696b12Stephen Gallagherdone
2dd3faebcd3cfd00efda38ffd2585d675e696b12Stephen Gallagher
2dd3faebcd3cfd00efda38ffd2585d675e696b12Stephen Gallagherif ! test -f doc/wiki/Authentication.txt; then
2dd3faebcd3cfd00efda38ffd2585d675e696b12Stephen Gallagher cd doc
2dd3faebcd3cfd00efda38ffd2585d675e696b12Stephen Gallagher wget http://www.dovecot.org/tmp/wiki-export.tar.gz
2dd3faebcd3cfd00efda38ffd2585d675e696b12Stephen Gallagher tar xzf wiki-export.tar.gz
2dd3faebcd3cfd00efda38ffd2585d675e696b12Stephen Gallagher mv wiki-export/*.txt wiki/
2dd3faebcd3cfd00efda38ffd2585d675e696b12Stephen Gallagher cd wiki
ed2a5dad1ec82eda8a43ed8b0a05a6b01c3a6586Petr Čech cp -f Makefile.am.in Makefile.am
f2c346eaa486431ffa2a3adc05356159de834e2eLukas Slebodnik echo *.txt | sed 's/ / \\\n /g' >> Makefile.am
f2c346eaa486431ffa2a3adc05356159de834e2eLukas Slebodnik cd ..
f2c346eaa486431ffa2a3adc05356159de834e2eLukas Slebodnik rm -rf wiki-export wiki-export.tar.gz
580374daba2ab2c6075a7d0de9512abff133e2e9Jakub Hrozek cd ..
2dd3faebcd3cfd00efda38ffd2585d675e696b12Stephen Gallagherfi
2dd3faebcd3cfd00efda38ffd2585d675e696b12Stephen Gallagher
2dd3faebcd3cfd00efda38ffd2585d675e696b12Stephen Gallagherautoreconf -i
2dd3faebcd3cfd00efda38ffd2585d675e696b12Stephen Gallagher