]> git.notmuchmail.org Git - notmuch/blob - emacs/Makefile.local
c6ca142d7f347bb1c9905f1619b2e0d98d2e002e
[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)