Re: [PATCH] Have to configure and build inside the source directory.
authorRob Browning <rlb@defaultvalue.org>
Fri, 28 Jan 2011 23:18:16 +0000 (17:18 +1800)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:37:49 +0000 (09:37 -0800)
0b/5cc04c730b192804d717d117151ab55c9ec980 [new file with mode: 0644]

diff --git a/0b/5cc04c730b192804d717d117151ab55c9ec980 b/0b/5cc04c730b192804d717d117151ab55c9ec980
new file mode 100644 (file)
index 0000000..b66d21f
--- /dev/null
@@ -0,0 +1,74 @@
+Return-Path: <rlb@defaultvalue.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 04600431FB6\r
+       for <notmuch@notmuchmail.org>; Fri, 28 Jan 2011 15:18:19 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       autolearn=unavailable\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id fg6ltwZ5R4mZ for <notmuch@notmuchmail.org>;\r
+       Fri, 28 Jan 2011 15:18:18 -0800 (PST)\r
+Received: from defaultvalue.org (defaultvalue.org [70.85.129.156])\r
+       by olra.theworths.org (Postfix) with ESMTP id D5B9D431FB5\r
+       for <notmuch@notmuchmail.org>; Fri, 28 Jan 2011 15:18:18 -0800 (PST)\r
+Received: from omen.defaultvalue.org (localhost [127.0.0.1])\r
+       by defaultvalue.org (Postfix) with ESMTP id 43A1F90D34;\r
+       Fri, 28 Jan 2011 17:18:17 -0600 (CST)\r
+Received: from raven.defaultvalue.org (raven.defaultvalue.org [192.168.1.7])\r
+       by omen.defaultvalue.org (Postfix) with ESMTP id 12E995018F;\r
+       Fri, 28 Jan 2011 17:18:17 -0600 (CST)\r
+Received: by raven.defaultvalue.org (Postfix, from userid 1000)\r
+       id 01FD67BA543; Fri, 28 Jan 2011 17:18:16 -0600 (CST)\r
+From: Rob Browning <rlb@defaultvalue.org>\r
+To: Carl Worth <cworth@cworth.org>\r
+Subject: Re: [PATCH] Have to configure and build inside the source directory.\r
+References: <1294747284-18791-1-git-send-email-thomas@schwinge.name>\r
+       <87bp30n3sc.fsf@yoom.home.cworth.org>\r
+Date: Fri, 28 Jan 2011 17:18:16 -0600\r
+In-Reply-To: <87bp30n3sc.fsf@yoom.home.cworth.org> (Carl Worth's message of\r
+       "Sat, 29 Jan 2011 06:58:59 +1000")\r
+Message-ID: <87ei7wty6f.fsf@raven.defaultvalue.org>\r
+User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Cc: notmuch@notmuchmail.org, Thomas Schwinge <thomas@schwinge.name>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Fri, 28 Jan 2011 23:18:19 -0000\r
+\r
+Carl Worth <cworth@cworth.org> writes:\r
+\r
+> What do other build systems generally do when running configure from\r
+> some other directory? Copy/link the Makefiles and then construct them\r
+> carefully such that they can find all the source files?\r
+\r
+I think the use of GNU make VPATH is fairly common.  For example, I\r
+believe the autotools build a tree that matches the srcdir structure and\r
+add Makefiles that contain something like this:\r
+\r
+  VPATH = ../../wherever/notmuch/thisdir\r
+  ...\r
+\r
+Of course, given that, the build tree doesn't include any source files.\r
+\r
+FWIW\r
+-- \r
+Rob Browning\r
+rlb @defaultvalue.org and @debian.org\r
+GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4\r