From: Pierre Habouzit Date: Fri, 9 Nov 2007 23:03:27 +0000 (+0100) Subject: build tools on configure X-Git-Url: http://git.madism.org/?a=commitdiff_plain;h=95ef9d189a3b8b1a97ab7764aa31a717a59b0d3a;p=apps%2Fmadmutt.git build tools on configure Signed-off-by: Pierre Habouzit --- diff --git a/configure b/configure index 41f62eb..a7398f3 100755 --- a/configure +++ b/configure @@ -20,9 +20,12 @@ builddir=.build-$(hostname)-$(gcc -dumpmachine)-$(gcc -dumpversion) 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