projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3921d23
)
emacs: add $(srcdir) to notmuch-version.el.tmpl dependency
author
Tomi Ollila
<tomi.ollila@iki.fi>
Sat, 12 Apr 2014 11:59:46 +0000
(14:59 +0300)
committer
David Bremner
<david@tethera.net>
Sun, 13 Apr 2014 11:42:51 +0000
(08:42 -0300)
This fixes out-of-tree build when generating emacs/notmuch-version.el.
emacs/Makefile.local
patch
|
blob
|
history
diff --git
a/emacs/Makefile.local
b/emacs/Makefile.local
index ca039e598ee59f5ede3308f2203d0f20abac496b..dcb4995323af9e866766d35e58a3c42dcdb9a6a5 100644
(file)
--- 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)"/' $< > $@