Re: [PATCH v4 13/16] add indexopts to notmuch python bindings.
[notmuch-archives.git] / 80 / 1cf04a0cd3e6397dc33d58db8d28b84fd563ff
1 Return-Path: <cworth@cworth.org>\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 1003D429E20\r
6         for <notmuch@notmuchmail.org>; Wed,  9 Mar 2011 15:20:11 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.99\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.99 tagged_above=-999 required=5\r
12         tests=[ALL_TRUSTED=-1, T_MIME_NO_TEXT=0.01] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id u7BfEW5G5KwJ; Wed,  9 Mar 2011 15:20:10 -0800 (PST)\r
16 Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
17         by olra.theworths.org (Postfix) with ESMTP id 64C43431FB5;\r
18         Wed,  9 Mar 2011 15:20:10 -0800 (PST)\r
19 Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
20         id 0CD9554C0C4; Wed,  9 Mar 2011 15:20:10 -0800 (PST)\r
21 From: Carl Worth <cworth@cworth.org>\r
22 To: Rob Browning <rlb@defaultvalue.org>\r
23 Subject: Re: [PATCH] Have to configure and build inside the source directory.\r
24 In-Reply-To: <87ei7wty6f.fsf@raven.defaultvalue.org>\r
25 References: <1294747284-18791-1-git-send-email-thomas@schwinge.name>\r
26         <87bp30n3sc.fsf@yoom.home.cworth.org>\r
27         <87ei7wty6f.fsf@raven.defaultvalue.org>\r
28 User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.2.1\r
29         (i486-pc-linux-gnu)\r
30 Date: Wed, 09 Mar 2011 15:19:53 -0800\r
31 Message-ID: <87k4g7lw4m.fsf@yoom.home.cworth.org>\r
32 MIME-Version: 1.0\r
33 Content-Type: multipart/signed; boundary="=-=-=";\r
34         micalg=pgp-sha1; protocol="application/pgp-signature"\r
35 Cc: notmuch@notmuchmail.org, Thomas Schwinge <thomas@schwinge.name>\r
36 X-BeenThere: notmuch@notmuchmail.org\r
37 X-Mailman-Version: 2.1.13\r
38 Precedence: list\r
39 List-Id: "Use and development of the notmuch mail system."\r
40         <notmuch.notmuchmail.org>\r
41 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
42         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
43 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
44 List-Post: <mailto:notmuch@notmuchmail.org>\r
45 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
46 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
48 X-List-Received-Date: Wed, 09 Mar 2011 23:20:11 -0000\r
49 \r
50 --=-=-=\r
51 Content-Transfer-Encoding: quoted-printable\r
52 \r
53 On Fri, 28 Jan 2011 17:18:16 -0600, Rob Browning <rlb@defaultvalue.org> wro=\r
54 te:\r
55 > I think the use of GNU make VPATH is fairly common.  For example, I\r
56 > believe the autotools build a tree that matches the srcdir structure and\r
57 > add Makefiles that contain something like this:\r
58 >=20\r
59 >   VPATH =3D ../../wherever/notmuch/thisdir\r
60 >   ...\r
61 >=20\r
62 > Of course, given that, the build tree doesn't include any source\r
63 > files.\r
64 \r
65 Thanks for the pointer to VPATH. I had some code half-written to use\r
66 this sitting around since we last talked about it, and I've just cleaned\r
67 it up and pushed it out now.\r
68 \r
69 It turns out that VPATH itself isn't very useful, (since it matches on\r
70 targets as well as prerequisites), but the similar "vpath" directive\r
71 matches only on prerequisites so it does what we want here.\r
72 \r
73 So non-source-directory builds of notmuch should work now. Along the\r
74 lines of:\r
75 \r
76         git clone git.notmuchmail.org:/git/notmuch\r
77         cd notmuch=20=20=20=20=20=20\r
78         mkdir build\r
79         cd build\r
80         ../configure\r
81         make\r
82 \r
83 Everyone, please feel free to test this and report back if you see any\r
84 problems.\r
85 \r
86 We should also fix the "make release" target to exercise this code. Does\r
87 anyone know what else a GNU configure script typically does in "make\r
88 distcheck". I recall that it untars the built tar file and does a\r
89 non-srcdir build of it, (and runs the test suite). Then I think it also\r
90 does an install and perhaps checks that no extra files are leftover\r
91 after "make clean"? Something like that anyway---and we should probably\r
92 do something similar.\r
93 \r
94 =2DCarl\r
95 \r
96 =2D-=20\r
97 carl.d.worth@intel.com\r
98 \r
99 --=-=-=\r
100 Content-Type: application/pgp-signature\r
101 \r
102 -----BEGIN PGP SIGNATURE-----\r
103 Version: GnuPG v1.4.10 (GNU/Linux)\r
104 \r
105 iD8DBQFNeAsZ6JDdNq8qSWgRAqH1AJ0ZVP3XNgG2x2H8yZxpdHiTCsc2JACgqBDq\r
106 auoKMaL0MGBPJV443tjVfuw=\r
107 =T8RI\r
108 -----END PGP SIGNATURE-----\r
109 --=-=-=--\r