X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=emacs%2FMakefile.local;h=2d6aedbdfd5d5e1c98485ad9b27ee69e635431cd;hp=6a39b32d2fab386252faddcd228072b2735215b6;hb=cfabfc6dab95f28eaa3d7261bca38ade32a69f79;hpb=28d7544ae2adfe6467c6b64a3284f5ed13f81e1a diff --git a/emacs/Makefile.local b/emacs/Makefile.local index 6a39b32d..2d6aedbd 100644 --- a/emacs/Makefile.local +++ b/emacs/Makefile.local @@ -17,7 +17,16 @@ 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-jump.el \ + $(dir)/notmuch-company.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 @@ -44,6 +53,10 @@ $(dir)/.eldeps: $(dir)/Makefile.local $(dir)/make-deps.el $(emacs_sources) $(dir)/.eldeps.x: $(dir)/.eldeps @cmp -s $^ $@ || cp $^ $@ -include $(dir)/.eldeps.x + +# Add the one dependency make-deps.el does not have visibility to. +$(dir)/notmuch-lib.elc: $(dir)/notmuch-version.elc + endif CLEAN+=$(dir)/.eldeps $(dir)/.eldeps.tmp $(dir)/.eldeps.x @@ -62,7 +75,7 @@ install: install-emacs endif .PHONY: install-emacs -install-emacs: +install-emacs: $(emacs_sources) $(emacs_images) mkdir -p "$(DESTDIR)$(emacslispdir)" install -m0644 $(emacs_sources) "$(DESTDIR)$(emacslispdir)" ifeq ($(HAVE_EMACS),1) @@ -71,4 +84,4 @@ endif mkdir -p "$(DESTDIR)$(emacsetcdir)" install -m0644 $(emacs_images) "$(DESTDIR)$(emacsetcdir)" -CLEAN := $(CLEAN) $(emacs_bytecode) +CLEAN := $(CLEAN) $(emacs_bytecode) $(dir)/notmuch-version.el