1 Return-Path: <jrollins@finestructure.net>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id C696F431FC2
\r
6 for <notmuch@notmuchmail.org>; Sat, 28 Nov 2009 15:57:25 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
8 Received: from olra.theworths.org ([127.0.0.1])
\r
9 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
10 with ESMTP id buXRalrZ032C for <notmuch@notmuchmail.org>;
\r
11 Sat, 28 Nov 2009 15:57:25 -0800 (PST)
\r
12 Received: from serrano.cc.columbia.edu (serrano.cc.columbia.edu [128.59.29.6])
\r
13 by olra.theworths.org (Postfix) with ESMTP id F05CF431FBC
\r
14 for <notmuch@notmuchmail.org>; Sat, 28 Nov 2009 15:57:24 -0800 (PST)
\r
15 Received: from servo.finestructure.net (lair.fifthhorseman.net
\r
17 (user=jgr2110 author=jrollins@finestructure.net mech=PLAIN bits=0)
\r
18 by serrano.cc.columbia.edu (8.14.3/8.14.3) with ESMTP id nASNvNuh011443
\r
19 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT)
\r
20 for <notmuch@notmuchmail.org>; Sat, 28 Nov 2009 18:57:24 -0500 (EST)
\r
21 Received: from jrollins by servo.finestructure.net with local (Exim 4.69)
\r
22 (envelope-from <jrollins@finestructure.net>)
\r
23 id 1NEXAd-0007FW-UX; Sat, 28 Nov 2009 18:57:44 -0500
\r
24 From: Jameson Graef Rollins <jrollins@finestructure.net>
\r
25 To: notmuch@notmuchmail.org
\r
26 Date: Sat, 28 Nov 2009 18:57:35 -0500
\r
27 Message-Id: <1259452657-27608-1-git-send-email-jrollins@finestructure.net>
\r
28 X-Mailer: git-send-email 1.6.5
\r
29 X-No-Spam-Score: Local
\r
30 X-Scanned-By: MIMEDefang 2.65 on 128.59.29.6
\r
31 Subject: [notmuch] [PATCH 1/3] fix configure script to handle --prefix= and
\r
32 properly create Makefile.config
\r
33 X-BeenThere: notmuch@notmuchmail.org
\r
34 X-Mailman-Version: 2.1.12
\r
36 List-Id: "Use and development of the notmuch mail system."
\r
37 <notmuch.notmuchmail.org>
\r
38 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
39 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
40 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
41 List-Post: <mailto:notmuch@notmuchmail.org>
\r
42 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
43 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
44 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
45 X-List-Received-Date: Sat, 28 Nov 2009 23:57:25 -0000
\r
47 This also removes the Makefile.config from the repository, since it
\r
48 shouldn't be kept in the repository and should be created by the
\r
51 Makefile.config | 3 ---
\r
52 configure | 12 +++++++++++-
\r
53 2 files changed, 11 insertions(+), 4 deletions(-)
\r
54 delete mode 100644 Makefile.config
\r
56 diff --git a/Makefile.config b/Makefile.config
\r
57 deleted file mode 100644
\r
58 index ddc7436..0000000
\r
59 --- a/Makefile.config
\r
62 -prefix = /usr/local
\r
63 -bash_completion_dir = /etc/bash_completion.d
\r
64 -CFLAGS += -DHAVE_VALGRIND
\r
65 diff --git a/configure b/configure
\r
66 index e55f067..ab28fa3 100755
\r
77 + if [ "${option%=*}" = '--prefix' ] ; then
\r
78 + PREFIX="${option#*=}"
\r
83 Welcome to Notmuch, a system for indexing, searching and tagging your email.
\r
85 @@ -130,7 +140,7 @@ EOF
\r
87 # construct the Makefile.config
\r
88 cat > Makefile.config <<EOF
\r
89 -prefix = /usr/local
\r
91 bash_completion_dir = /etc/bash_completion.d
\r
92 CFLAGS += ${have_valgrind}
\r