Improve installation of emacs mode.
authorJeffrey C. Ollie <jeff@ocjtech.us>
Thu, 19 Nov 2009 21:20:01 +0000 (15:20 -0600)
committerCarl Worth <cworth@cworth.org>
Fri, 20 Nov 2009 09:34:29 +0000 (10:34 +0100)
commitd98718d10491207f933e100080d976f6762347bb
treecffa1042d7792dc2e3b2dfd2c8ec3d3b6fbb2946
parent19d951ee166198e6c20a8850a5736b6453a2a91c
Improve installation of emacs mode.

1) Add a separate targets to build and install emacs mode.

2) Don't hardcode the installation directory, instead use emacs'
   pkg-config module.

3) Install a byte compiled version of the emacs mode.

4) Install the emacs mode in emacs' site-lisp directory.  Put
   "(require 'notmuch)" in your .emacs to load it automatically.

5) Ignore byte-compiled emacs files.

Signed-off-by: Jeffrey C. Ollie <jeff@ocjtech.us>
Reviewed-by: Ingmar Vanhassel <ingmar@exherbo.org>
Reviewed-by: Keith Packard <keithp@keithp.com>
.gitignore
Makefile
Makefile.local