From: Tomi Ollila Date: Sat, 3 Aug 2013 21:12:33 +0000 (+0300) Subject: Re: [PATCH] man/Makefile.local: allow out-of-tree 'make install'. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=05c514aa7bd19915d38befb6ffb8c9a00e2e6d33;p=notmuch-archives.git Re: [PATCH] man/Makefile.local: allow out-of-tree 'make install'. --- diff --git a/2a/eca99d5672f2071656ec7e8def410858d58224 b/2a/eca99d5672f2071656ec7e8def410858d58224 new file mode 100644 index 000000000..dee743689 --- /dev/null +++ b/2a/eca99d5672f2071656ec7e8def410858d58224 @@ -0,0 +1,83 @@ +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 53362431FAF + for ; Sat, 3 Aug 2013 14:12:45 -0700 (PDT) +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=disabled +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 SReo5-TgfhnN for ; + Sat, 3 Aug 2013 14:12:40 -0700 (PDT) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by olra.theworths.org (Postfix) with ESMTP id 7739A431FAE + for ; Sat, 3 Aug 2013 14:12:40 -0700 (PDT) +Received: from guru.guru-group.fi (localhost [IPv6:::1]) + by guru.guru-group.fi (Postfix) with ESMTP id 05D5F100090; + Sun, 4 Aug 2013 00:12:34 +0300 (EEST) +From: Tomi Ollila +To: Rory Yorke , notmuch@notmuchmail.org +Subject: Re: [PATCH] man/Makefile.local: allow out-of-tree 'make install'. +In-Reply-To: <1375522597-23428-1-git-send-email-rory.yorke@gmail.com> +References: <1375522597-23428-1-git-send-email-rory.yorke@gmail.com> +User-Agent: Notmuch/0.16+2~g0418bb2 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-unknown-linux-gnu) +X-Face: HhBM'cA~ +MIME-Version: 1.0 +Content-Type: text/plain +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: Sat, 03 Aug 2013 21:12:45 -0000 + +On Sat, Aug 03 2013, Rory Yorke wrote: + +> Change man-page source directory ('dir') to refer to srcdir. +> --- +> man/Makefile.local | 2 +- +> 1 file changed, 1 insertion(+), 1 deletion(-) +> +> diff --git a/man/Makefile.local b/man/Makefile.local +> index 216aaa0..768f4cf 100644 +> --- a/man/Makefile.local +> +++ b/man/Makefile.local +> @@ -1,6 +1,6 @@ +> # -*- Makefile -*- +> +> -dir := man +> +dir := $(srcdir)/man + +Interesting... + +$ grep '^dir ' **/Makefile* +compat/Makefile.local:dir := compat +completion/Makefile.local:dir := completion +emacs/Makefile.local:dir := emacs +lib/Makefile.local:dir := lib +man/Makefile.local:dir := man +parse-time-string/Makefile.local:dir := parse-time-string +performance-test/Makefile.local:dir := performance-test +test/Makefile.local:dir := test +util/Makefile.local:dir := util + +So why $(srcdir)/ prefix is needed only here... + +Tomi