filter-branch: a few more touch ups to the man page
[git/peff.git] / contrib / emacs / Makefile
blob98aa0aae9b2e9e4a758fa58e7dd1e1adc3214883
1 ## Build and install stuff
3 EMACS = emacs
5 ELC = git.elc vc-git.elc git-blame.elc
6 INSTALL ?= install
7 INSTALL_ELC = $(INSTALL) -m 644
8 prefix ?= $(HOME)
9 emacsdir = $(prefix)/share/emacs/site-lisp
11 all: $(ELC)
13 install: all
14 $(INSTALL) -d $(DESTDIR)$(emacsdir)
15 $(INSTALL_ELC) $(ELC) $(DESTDIR)$(emacsdir)
17 %.elc: %.el
18 $(EMACS) -batch -f batch-byte-compile $<
20 clean:; rm -f $(ELC)