diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-01-23 08:54:41 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-01-23 08:54:41 +0000 |
commit | ef9003ddd26c867944e83c70197f985c92ca29a7 (patch) | |
tree | 70fe7ad8543ea82b27abcff4f7028e43ab9de967 /prepare | |
parent | 1817e8898073082788170ea59a749e8864bbb4b1 (diff) |
Apparently, automake doesn't like our AC_OUTPUT($output)
construction...
Diffstat (limited to 'prepare')
-rwxr-xr-x | prepare | 29 |
1 files changed, 19 insertions, 10 deletions
@@ -1,15 +1,24 @@ #!/bin/sh -- -if aclocal -I m4 && autoheader && (cd m4 && make -f Makefile.am.in ) && automake --foreign && autoconf && ./configure $@ +am() +{ + find -name Makefile.am | while read f ; do + automake --foreign `dirname $f`/`basename $f .am` || return 1 + done + return 0 +} + +if aclocal -I m4 && autoheader && (cd m4 && make -f Makefile.am.in ) \ + && am && autoconf && ./configure $@ then - echo - echo "The mutt source code was successfully prepared." - echo "Type make && make install to build and install mutt." - echo + echo + echo "The mutt source code was successfully prepared." + echo "Type make && make install to build and install mutt." + echo else - echo - echo "Some part of the preparation process failed." - echo "Please refer to doc/devel-notes.txt for details." - echo - exit 1 + echo + echo "Some part of the preparation process failed." + echo "Please refer to doc/devel-notes.txt for details." + echo + exit 1 fi |