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

This fixes out-of-tree build when generating emacs/notmuch-version.el.
This commit is contained in:
Tomi Ollila 2014-04-12 14:59:46 +03:00 committed by David Bremner
parent 3921d2345a
commit c2048addd4

View file

@ -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)"/' $< > $@