unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH 1/3] remove Makefile.config from source to allow for custom config.
@ 2009-11-22 21:58 Jameson Graef Rollins
  2009-11-22 21:58 ` [PATCH 2/3] modify notmuch_setup_command to return 1 if config file write fails Jameson Graef Rollins
  2009-11-26  3:23 ` [PATCH 1/3] remove Makefile.config from source to allow for custom config Carl Worth
  0 siblings, 2 replies; 12+ messages in thread
From: Jameson Graef Rollins @ 2009-11-22 21:58 UTC (permalink / raw)
  To: notmuch

Modified ./configure script to generate a Makefile.config if it
doesn't exist.  This will allow people to maintain custom
Makefile.config files without causing conflicts with the repository.
---
 Makefile.config |    2 --
 configure       |    8 ++++++++
 2 files changed, 8 insertions(+), 2 deletions(-)
 delete mode 100644 Makefile.config

diff --git a/Makefile.config b/Makefile.config
deleted file mode 100644
index d72a39e..0000000
--- a/Makefile.config
+++ /dev/null
@@ -1,2 +0,0 @@
-prefix = /usr/local
-bash_completion_dir = /etc/bash_completion.d
diff --git a/configure b/configure
index fe46c8e..c63f70d 100755
--- a/configure
+++ b/configure
@@ -109,6 +109,14 @@ configure again to ensure the packages can be found, or simply run
 EOF
     exit 1
 else
+
+if [ ! -e Makefile.config ] ; then
+    cat <<EOF >Makefile.config
+prefix = /usr/local
+bash_completion_dir = /etc/bash_completion.d
+EOF
+fi
+
 cat <<EOF
 
 All required packages were found. You may now run the following
-- 
1.6.5

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2009-11-26  3:29 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-22 21:58 [PATCH 1/3] remove Makefile.config from source to allow for custom config Jameson Graef Rollins
2009-11-22 21:58 ` [PATCH 2/3] modify notmuch_setup_command to return 1 if config file write fails Jameson Graef Rollins
2009-11-22 21:58   ` [PATCH 3/3] change config file location to be ~/.notmuch/config Jameson Graef Rollins
2009-11-22 22:15     ` Jameson Graef Rollins
2009-11-22 22:24       ` Bart Trojanowski
2009-11-22 23:14         ` Jameson Graef Rollins
2009-11-23  4:55           ` Carl Worth
2009-11-24 10:55             ` Jan Janak
2009-11-26  3:29           ` Carl Worth
2009-11-26  3:27     ` Carl Worth
2009-11-26  3:24   ` [PATCH 2/3] modify notmuch_setup_command to return 1 if config file write fails Carl Worth
2009-11-26  3:23 ` [PATCH 1/3] remove Makefile.config from source to allow for custom config Carl Worth

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).