]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/Makefile.local
emacs: add $(srcdir) to notmuch-version.el.tmpl dependency
[notmuch] / emacs / Makefile.local
index ca039e598ee59f5ede3308f2203d0f20abac496b..dcb4995323af9e866766d35e58a3c42dcdb9a6a5 100644 (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)"/' $< > $@