5 $(dir)/notmuch-lib.el \
7 $(dir)/notmuch-query.el \
8 $(dir)/notmuch-show.el \
11 emacs_bytecode := $(subst .el,.elc,$(emacs_sources))
14 $(call quiet,EMACS) --directory emacs -batch -f batch-byte-compile $<
16 ifeq ($(HAVE_EMACS),1)
17 all: $(emacs_bytecode)
20 install: install-emacs
24 mkdir -p $(DESTDIR)$(emacslispdir)
25 install -m0644 $(emacs_sources) $(DESTDIR)$(emacslispdir)
26 ifeq ($(HAVE_EMACS),1)
27 install -m0644 $(emacs_bytecode) $(DESTDIR)$(emacslispdir)
30 CLEAN := $(CLEAN) $(emacs_bytecode)