contrib / emacs / Makefileon commit Merge branch 'lt/maint-diff-reduce-lstat' into maint (5e04a1e)
   1## Build and install stuff
   2
   3EMACS = emacs
   4
   5ELC = git.elc git-blame.elc
   6INSTALL ?= install
   7INSTALL_ELC = $(INSTALL) -m 644
   8prefix ?= $(HOME)
   9emacsdir = $(prefix)/share/emacs/site-lisp
  10RM ?= rm -f
  11
  12all: $(ELC)
  13
  14install: all
  15        $(INSTALL) -d $(DESTDIR)$(emacsdir)
  16        $(INSTALL_ELC) $(ELC:.elc=.el) $(ELC) $(DESTDIR)$(emacsdir)
  17
  18%.elc: %.el
  19        $(EMACS) -batch -f batch-byte-compile $<
  20
  21clean:; $(RM) $(ELC)