emacs: Move emacs UI (currently just one file) to subdirectory.
[notmuch] / emacs / Makefile.local
1 dir=emacs
2 emacs_sources=                 \
3         $(dir)/notmuch.el
4
5 emacs_bytecode=$(subst .el,.elc,$(emacs_sources))
6
7 emacs: $(emacs_bytecode)
8
9 install-emacs: install emacs
10         for d in $(DESTDIR)/$(emacs_lispdir) ; \
11         do \
12                 install -d $$d ; \
13         done ;
14         for f in $(emacs_sources) $(emacs_bytecode); \
15         do \
16                 install -m0644 $$f $(DESTDIR)$(emacs_lispdir) ;\
17         done;
18
19 CLEAN := $(CLEAN) $(emacs_bytecode)