[PATCH] emacs: add $(srcdir) to notmuch-version.el.tmpl dependency

Tomi Ollila tomi.ollila at iki.fi
Sat Apr 12 04:59:46 PDT 2014


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 $(<F)) -- do not edit!/' \
 	     -e 's/%VERSION%/"$(VERSION)"/' $< > $@
 
-- 
1.8.0



More information about the notmuch mailing list