X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2FMakefile.local;h=dcb4995323af9e866766d35e58a3c42dcdb9a6a5;hb=cd8cb607332b143bd5403175bed5fabe0f793b9c;hp=6a39b32d2fab386252faddcd228072b2735215b6;hpb=7c0a1b4d602fa0ff612ffcd7a463d11764a4ea09;p=notmuch diff --git a/emacs/Makefile.local b/emacs/Makefile.local index 6a39b32d..dcb49953 100644 --- a/emacs/Makefile.local +++ b/emacs/Makefile.local @@ -17,7 +17,14 @@ emacs_sources := \ $(dir)/notmuch-crypto.el \ $(dir)/notmuch-tag.el \ $(dir)/coolj.el \ - $(dir)/notmuch-print.el + $(dir)/notmuch-print.el \ + $(dir)/notmuch-version.el + +$(dir)/notmuch-version.el: $(dir)/Makefile.local version.stamp +$(dir)/notmuch-version.el: $(srcdir)/$(dir)/notmuch-version.el.tmpl + @sed -e 's/%AG%/Generated file (from $( $@ + emacs_images := \ $(srcdir)/$(dir)/notmuch-logo.png @@ -71,4 +78,4 @@ endif mkdir -p "$(DESTDIR)$(emacsetcdir)" install -m0644 $(emacs_images) "$(DESTDIR)$(emacsetcdir)" -CLEAN := $(CLEAN) $(emacs_bytecode) +CLEAN := $(CLEAN) $(emacs_bytecode) $(dir)/notmuch-version.el