mirror of
https://github.com/git/git
synced 2024-10-30 04:01:21 +00:00
7851386948
vc-git is distributed with Emacs since version 22.2, and is maintained in the Emacs CVS tree. This file is obsolete and causes trouble for people who want to add contrib/emacs to their load-path. Signed-off-by: Alexandre Julliard <julliard@winehq.org>
21 lines
397 B
Makefile
21 lines
397 B
Makefile
## Build and install stuff
|
|
|
|
EMACS = emacs
|
|
|
|
ELC = git.elc git-blame.elc
|
|
INSTALL ?= install
|
|
INSTALL_ELC = $(INSTALL) -m 644
|
|
prefix ?= $(HOME)
|
|
emacsdir = $(prefix)/share/emacs/site-lisp
|
|
RM ?= rm -f
|
|
|
|
all: $(ELC)
|
|
|
|
install: all
|
|
$(INSTALL) -d $(DESTDIR)$(emacsdir)
|
|
$(INSTALL_ELC) $(ELC:.elc=.el) $(ELC) $(DESTDIR)$(emacsdir)
|
|
|
|
%.elc: %.el
|
|
$(EMACS) -batch -f batch-byte-compile $<
|
|
|
|
clean:; $(RM) $(ELC)
|