diff options
Diffstat (limited to 'emacs/Makefile.local')
-rw-r--r-- | emacs/Makefile.local | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/emacs/Makefile.local b/emacs/Makefile.local new file mode 100644 index 00000000..c6ca142d --- /dev/null +++ b/emacs/Makefile.local @@ -0,0 +1,19 @@ +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) |