]> git.ipfire.org Git - thirdparty/git.git/blame - contrib/emacs/Makefile
Merge branch 'maint-1.6.1' into maint
[thirdparty/git.git] / contrib / emacs / Makefile
CommitLineData
8911db70
MW
1## Build and install stuff
2
3EMACS = emacs
4
78513869 5ELC = git.elc git-blame.elc
e14421b9 6INSTALL ?= install
8911db70 7INSTALL_ELC = $(INSTALL) -m 644
e14421b9 8prefix ?= $(HOME)
8911db70 9emacsdir = $(prefix)/share/emacs/site-lisp
4cb08df5 10RM ?= rm -f
8911db70
MW
11
12all: $(ELC)
13
14install: all
1e31fbe2 15 $(INSTALL) -d $(DESTDIR)$(emacsdir)
99c01de4 16 $(INSTALL_ELC) $(ELC:.elc=.el) $(ELC) $(DESTDIR)$(emacsdir)
8911db70
MW
17
18%.elc: %.el
5ced0572 19 $(EMACS) -batch -f batch-byte-compile $<
8911db70 20
4cb08df5 21clean:; $(RM) $(ELC)