notmuch/emacs/Makefile.local
David Bremner bbda0a0156 emacs: Move emacs UI (currently just one file) to subdirectory.
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.
2010-03-09 12:13:33 -08:00

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)