mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-29 22:24:12 +01:00
20 lines
395 B
Text
20 lines
395 B
Text
|
dir=emacs
|
||
|
emacs_sources= \
|
||
|
$(dir)/notmuch.el
|
||
|
|
||
|
emacs_bytecode=$(subst .el,.elc,$(emacs_sources))
|
||
|
|
||
|
emacs: $(emacs_bytecode)
|
||
|
|
||
|
install-emacs: install emacs
|
||
|
for d in $(DESTDIR)/$(emacs_lispdir) ; \
|
||
|
do \
|
||
|
install -d $$d ; \
|
||
|
done ;
|
||
|
for f in $(emacs_sources) $(emacs_bytecode); \
|
||
|
do \
|
||
|
install -m0644 $$f $(DESTDIR)$(emacs_lispdir) ;\
|
||
|
done;
|
||
|
|
||
|
CLEAN := $(CLEAN) $(emacs_bytecode)
|