Signed-off-by: Pierre Habouzit <madcoder@debian.org>
rm -rf $builddir
mkdir -p $builddir
rm -f build && ln -s $builddir build
+rm -f madmutt && ln -s $builddir/madmutt madmutt
if test $# -eq 0; then
- cd $builddir && cmake -DWITH_NNTP=1 -DWITH_IDN=1 -DUSE_HCACHE=1 -DCMAKE_INSTALL_PREFIX=/usr ..
+ (cd $builddir && cmake -DWITH_NNTP=1 -DWITH_IDN=1 -DUSE_HCACHE=1 -DCMAKE_INSTALL_PREFIX=/usr ..)
else
- cd $builddir && cmake "$@" ..
+ (cd $builddir && cmake "$@" ..)
fi
+
+make -C tools