[PATCH] configure: moved make {,install} instructions to the end

Tomi Ollila tomi.ollila at iki.fi
Sat Sep 27 06:40:19 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.

Also, added the sh.config file configure started to create a while
ago to .gitconfig.
---
 .gitignore |  1 +
 configure  | 22 ++++++++++++----------
 2 files changed, 13 insertions(+), 10 deletions(-)

diff --git a/.gitignore b/.gitignore
index 1fb3a713cfe8..296030c76977 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
 .first-build-message
 Makefile.config
+sh.config
 version.stamp
 TAGS
 tags
diff --git a/configure b/configure
index 0f304bfc92a1..ade7500d385e 100755
--- a/configure
+++ b/configure
@@ -731,16 +731,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
@@ -976,3 +966,15 @@ NOTMUCH_HAVE_XAPIAN_COMPACT=${have_xapian_compact}
 # documentation
 NOTMUCH_HAVE_MAN=$((have_sphinx || have_rst2man))
 EOF
+
+
+# finally, after everything configured, inform the user
+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