mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-27 03:41:41 +01:00
bbda0a0156
Add emacs/Makefile.local and emacs/Makefile. Move emacs targets into emacs/Makefile.local, but leave the byte compilation rule in the top level Makefile.
19 lines
395 B
Text
19 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)
|