From bbda0a015629d0a760d98b8d23888f50c9297a12 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Tue, 9 Feb 2010 23:45:28 -0400 Subject: 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. --- emacs/Makefile.local | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 emacs/Makefile.local (limited to 'emacs/Makefile.local') 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) -- cgit v1.2.3