pull: implement fetch + merge
[git/mingw.git] / contrib / emacs / Makefile
blob24d931294180c10646249bbbe31b5215f9996a66
1 ## Build and install stuff
3 EMACS = emacs
5 ELC = git.elc git-blame.elc
6 INSTALL ?= install
7 INSTALL_ELC = $(INSTALL) -m 644
8 prefix ?= $(HOME)
9 emacsdir = $(prefix)/share/emacs/site-lisp
10 RM ?= rm -f
12 all: $(ELC)
14 install: all
15 $(INSTALL) -d $(DESTDIR)$(emacsdir)
16 $(INSTALL_ELC) $(ELC:.elc=.el) $(ELC) $(DESTDIR)$(emacsdir)
18 %.elc: %.el
19 $(EMACS) -batch -f batch-byte-compile $<
21 clean:; $(RM) $(ELC)