contrib / emacs / Makefileon commit Merge branch 'master' of git://git.kernel.org/pub/scm/gitk/gitk into pm/gitk (e1341ab)
   1## Build and install stuff
   2
   3EMACS = emacs
   4
   5ELC = git.elc vc-git.elc git-blame.elc
   6INSTALL ?= install
   7INSTALL_ELC = $(INSTALL) -m 644
   8prefix ?= $(HOME)
   9emacsdir = $(prefix)/share/emacs/site-lisp
  10
  11all: $(ELC)
  12
  13install: all
  14        $(INSTALL) -d $(DESTDIR)$(emacsdir)
  15        $(INSTALL_ELC) $(ELC) $(DESTDIR)$(emacsdir)
  16
  17%.elc: %.el
  18        $(EMACS) -batch -f batch-byte-compile $<
  19
  20clean:; rm -f $(ELC)