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