mosesdecoder/regenerate-makefiles.sh

21 lines
373 B
Bash
Raw Normal View History

#!/bin/sh
function die () {
echo "$@" >&2
exit 1
}
echo "Calling aclocal..."
aclocal || die "aclocal failed"
echo "Calling autoconf..."
autoconf || die "autoconf failed"
echo "Calling automake..."
automake || die "automake failed"
echo
echo "You should now be able to configure and build:"
echo " ./configure --with-srilm=/path/to/srilm"
echo " make -j 4"
echo