contrib / emacs / Makefileon commit Merge branch 'jk/docs-docbook-monospace-display' into maint-1.7.11 (515cd19)
   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)