[PATCH v2] configure: move make {,install} instructions to the end
Tomi Ollila
tomi.ollila at iki.fi
Sat Nov 1 02:39:04 PDT 2014
There was theorical possibility that writing the config files could
have skipped (by interruption) after the instructions how to make
notmuch was printed out.
---
v2 of id:1411825219-12455-1-git-send-email-tomi.ollila at iki.fi
-- .gitignore change dropped (already there)
-- one newline removed
-- capitalized 'Finally'
configure | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/configure b/configure
index 331f29bd9670..d14e7d17a91a 100755
--- a/configure
+++ b/configure
@@ -724,16 +724,6 @@ printf "\n\t${WARN_CFLAGS}\n"
rm -f minimal minimal.c
-cat <<EOF
-
-All required packages were found. You may now run the following
-commands to compile and install notmuch:
-
- make
- sudo make install
-
-EOF
-
# construct the Makefile.config
cat > Makefile.config <<EOF
# This Makefile.config was automatically generated by the ./configure
@@ -969,3 +959,14 @@ NOTMUCH_HAVE_XAPIAN_COMPACT=${have_xapian_compact}
# documentation
NOTMUCH_HAVE_MAN=$((have_sphinx || have_rst2man))
EOF
+
+# Finally, after everything configured, inform the user how to continue.
+cat <<EOF
+
+All required packages were found. You may now run the following
+commands to compile and install notmuch:
+
+ make
+ sudo make install
+
+EOF
--
2.0.0
More information about the notmuch
mailing list