contrib / emacs / Makefileon commit Merge git://git.kernel.org/pub/scm/gitk/gitk (a549e11)
   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)