cleans before compiling

git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@873 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
bojar 2006-10-09 15:07:50 +00:00
parent 2eb05906aa
commit c742700aba

View File

@ -36,11 +36,13 @@ svn info
cd irstlm || die "Failed to chdir to irstlm"
./regenerate-makefiles.sh || die "Failed to regenerate makefiles in irstlm"
make distclean || die "Failed to distclean irstlm"
./configure --prefix=$tempdir/irstlm || die "Failed to configure irstlm"
make || die "Failed to compile irstlm"
make install || die "Failed to install irstlm"
cd ..
make distclean || die "Failed to distclean moses"
./configure --with-irstlm=$tempdir/irstlm || die "Failed to configure moses"
make || die "Failed to compile moses"