X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=emacs%2FMakefile.local;fp=emacs%2FMakefile.local;h=c6ca142d7f347bb1c9905f1619b2e0d98d2e002e;hb=bbda0a015629d0a760d98b8d23888f50c9297a12;hp=0000000000000000000000000000000000000000;hpb=a875e17211e9e9a7b6fea98430a13bc6985910ca;p=obsolete%2Fnotmuch-old 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)