Andreas Krennmair:
[apps/madmutt.git] / prepare
1 #!/bin/sh --
2
3 if test x"$1" = x"-dev" ; then
4   include_deps=
5   shift
6 else
7   include_deps="-i"
8 fi
9
10 if aclocal -I m4 && autoheader && (cd m4 && make -f Makefile.am.in ) \
11   && automake $include_deps && autoconf && ./configure "$@"
12 then
13   echo
14   echo "The mutt source code was successfully prepared."
15   echo "Type make && make install to build and install mutt."
16   echo
17 else
18   echo
19   echo "Some part of the preparation process failed."
20   echo "Please refer to doc/devel-notes.txt for details."
21   echo
22   exit 1
23 fi