aboutsummaryrefslogtreecommitdiffhomepage
path: root/emacs/Makefile.local
diff options
context:
space:
mode:
authorGravatar David Bremner <bremner@unb.ca>2010-02-09 23:45:28 -0400
committerGravatar Carl Worth <cworth@cworth.org>2010-03-09 12:13:33 -0800
commitbbda0a015629d0a760d98b8d23888f50c9297a12 (patch)
treece74bdd9189e129d7712e7958a57b8a727d55ee2 /emacs/Makefile.local
parenta875e17211e9e9a7b6fea98430a13bc6985910ca (diff)
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.
Diffstat (limited to 'emacs/Makefile.local')
-rw-r--r--emacs/Makefile.local19
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)