1## Build and install stuff
23
EMACS = emacs
45
ELC = git.elc vc-git.elc git-blame.elc
6INSTALL ?= install
7INSTALL_ELC = $(INSTALL) -m 644
8prefix ?= $(HOME)
9emacsdir = $(prefix)/share/emacs/site-lisp
10RM ?= rm -f
1112
all: $(ELC)
1314
install: all
15$(INSTALL) -d $(DESTDIR)$(emacsdir)
16$(INSTALL_ELC) $(ELC) $(DESTDIR)$(emacsdir)
1718
%.elc: %.el
19$(EMACS) -batch -f batch-byte-compile $<
2021
clean:; $(RM) $(ELC)