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
1011
all: $(ELC)
1213
install: all
14$(INSTALL) -d $(DESTDIR)$(emacsdir)
15$(INSTALL_ELC) $(ELC) $(DESTDIR)$(emacsdir)
1617
%.elc: %.el
18$(EMACS) -batch -f batch-byte-compile $<
1920
clean:; rm -f $(ELC)