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 142C3431FBD for ; Sat, 12 Apr 2014 05:00:01 -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 q1IwdyVCXe4M for ; Sat, 12 Apr 2014 04:59:57 -0700 (PDT) Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) by olra.theworths.org (Postfix) with ESMTP id 7C61C431FBC for ; Sat, 12 Apr 2014 04:59:57 -0700 (PDT) Received: by guru.guru-group.fi (Postfix, from userid 501) id 6B7561000E1; Sat, 12 Apr 2014 14:59:48 +0300 (EEST) From: Tomi Ollila To: notmuch@notmuchmail.org Subject: [PATCH] emacs: add $(srcdir) to notmuch-version.el.tmpl dependency Date: Sat, 12 Apr 2014 14:59:46 +0300 Message-Id: <1397303986-17381-1-git-send-email-tomi.ollila@iki.fi> X-Mailer: git-send-email 1.8.0 Cc: tomi.ollila@iki.fi 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, 12 Apr 2014 12:00:01 -0000 This fixes out-of-tree build when generating emacs/notmuch-version.el. --- emacs/Makefile.local | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emacs/Makefile.local b/emacs/Makefile.local index ca039e5..dcb4995 100644 --- a/emacs/Makefile.local +++ b/emacs/Makefile.local @@ -21,7 +21,7 @@ emacs_sources := \ $(dir)/notmuch-version.el $(dir)/notmuch-version.el: $(dir)/Makefile.local version.stamp -$(dir)/notmuch-version.el: $(dir)/notmuch-version.el.tmpl +$(dir)/notmuch-version.el: $(srcdir)/$(dir)/notmuch-version.el.tmpl @sed -e 's/%AG%/Generated file (from $( $@ -- 1.8.0