X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;ds=sidebyside;f=emacs%2FMakefile.local;h=f1636177915e5170e8f89e2389d9fc5a06b83d3c;hb=10f8c5d205d5398bb86809bf8e7958038ba3b6fe;hp=dfa7c1f11dcad859a7358fe6e3b049d53d880eb3;hpb=297d27e9f9f0341e40bfd9442dde5fdd1ad969ff;p=notmuch diff --git a/emacs/Makefile.local b/emacs/Makefile.local index dfa7c1f1..f1636177 100644 --- a/emacs/Makefile.local +++ b/emacs/Makefile.local @@ -21,7 +21,10 @@ emacs_sources := \ $(dir)/notmuch-print.el \ $(dir)/notmuch-version.el \ $(dir)/notmuch-jump.el \ - $(dir)/notmuch-company.el + $(dir)/notmuch-company.el \ + $(dir)/notmuch-draft.el + +elpa_sources := ${emacs_sources} $(dir)/notmuch-pkg.el $(dir)/notmuch-version.el: $(dir)/Makefile.local version.stamp $(dir)/notmuch-version.el: $(srcdir)/$(dir)/notmuch-version.el.tmpl @@ -72,6 +75,14 @@ ifeq ($(HAVE_EMACS),1) $(call quiet,EMACS) --directory emacs -batch -f batch-byte-compile $< endif +elpa: $(ELPA_FILE) + +notmuch-emacs-%.tar: ${elpa_sources} + mkdir -p .elpa-build/notmuch-${ELPA_VERSION} + cp ${elpa_sources} .elpa-build/notmuch-${ELPA_VERSION} + tar -C .elpa-build -cf $@ notmuch-${ELPA_VERSION} + rm -r .elpa-build + ifeq ($(WITH_EMACS),1) ifeq ($(HAVE_EMACS),1) all: $(emacs_bytecode)