From: Jameson Graef Rollins <jrollins@finestructure.net>
To: notmuch@notmuchmail.org
Subject: [PATCH 1/3] remove Makefile.config from source to allow for custom config.
Date: Sun, 22 Nov 2009 16:58:34 -0500 [thread overview]
Message-ID: <1258927116-528-1-git-send-email-jrollins@finestructure.net> (raw)
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
next reply other threads:[~2009-11-22 21:58 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-22 21:58 Jameson Graef Rollins [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1258927116-528-1-git-send-email-jrollins@finestructure.net \
--to=jrollins@finestructure.net \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).