X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=emacs%2FMakefile.local;h=ca039e598ee59f5ede3308f2203d0f20abac496b;hp=6a39b32d2fab386252faddcd228072b2735215b6;hb=cab1415a94f09c529ca7323904c5a159c996cbe0;hpb=feb3ce957213350db6c3e954cf4016aced1f65ce diff --git a/emacs/Makefile.local b/emacs/Makefile.local index 6a39b32d..ca039e59 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: $(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