mirror of
https://github.com/git/git
synced 2024-08-25 02:35:46 +00:00
![Alexandre Julliard](/assets/img/avatar_default.png)
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>
22 lines
397 B
Makefile
22 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)
|