aboutsummaryrefslogtreecommitdiffhomepage
path: root/emacs
diff options
context:
space:
mode:
authorGravatar Tomi Ollila <tomi.ollila@iki.fi>2014-04-12 14:59:46 +0300
committerGravatar David Bremner <david@tethera.net>2014-04-13 08:42:51 -0300
commitc2048addd40be3047231c786dd8162cfb80a8181 (patch)
tree1fb151e5bcc2d88a6a8081d3a17150e4ac8c94f6 /emacs
parent3921d2345a33311d6b87d42fe24eb67a2c56b8ff (diff)
emacs: add $(srcdir) to notmuch-version.el.tmpl dependency
This fixes out-of-tree build when generating emacs/notmuch-version.el.
Diffstat (limited to 'emacs')
-rw-r--r--emacs/Makefile.local2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/Makefile.local b/emacs/Makefile.local
index ca039e59..dcb49953 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 $(<F)) -- do not edit!/' \
-e 's/%VERSION%/"$(VERSION)"/' $< > $@