contrib / emacs / Makefileon commit Merge branch 'master' into next (8a24f2f)
   1## Build and install stuff
   2
   3EMACS = emacs
   4
   5ELC = git.elc vc-git.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 $(emacsdir)
  15        $(INSTALL_ELC) $(ELC) $(emacsdir)
  16
  17%.elc: %.el
  18        $(EMACS) --batch --eval '(byte-compile-file "$<")'
  19
  20clean:; rm -f $(ELC)