From d724d9e82244d649386eab6ce5ddc2f7e2b606df Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Wed, 21 Jun 2000 15:55:23 +0000 Subject: [PATCH] Work-around for keymap_defs and other dependency problems. From Lars Hecking. --- Makefile.am | 2 +- prepare | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 92d3a5fa..772e5009 100644 --- a/Makefile.am +++ b/Makefile.am @@ -97,7 +97,7 @@ muttbug: muttbug.sh cp muttbug.sh muttbug chmod +x muttbug -keymap.h: keymap_defs.h +Makefile: $(BUILT_SOURCES) keymap_defs.h: $(OPS) $(srcdir)/gen_defs $(srcdir)/gen_defs $(OPS) > keymap_defs.h diff --git a/prepare b/prepare index c96921c5..85df1ed3 100755 --- a/prepare +++ b/prepare @@ -1,7 +1,14 @@ #!/bin/sh -- +if test x"$1" = x"-dev" ; then + include_deps= + shift +else + include_deps="-i" +fi + if aclocal -I m4 && autoheader && (cd m4 && make -f Makefile.am.in ) \ - && automake && autoconf && ./configure $@ && make keymap_defs.h + && automake $include_deps && autoconf && ./configure $@ then echo echo "The mutt source code was successfully prepared." -- 2.40.0