contrib/emacs: Use non-interactive function to byte-compile files
Add git-blame as a candidate to the byte-compilation. batch-byte-compile is the prefered way to byte-compile files in batch mode. Use it instead of the interactive function. Signed-off-by: Xavier Maillard <zedek@gnu.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
ac3ec0d555
commit
5ced057221
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
EMACS = emacs
|
EMACS = emacs
|
||||||
|
|
||||||
ELC = git.elc vc-git.elc
|
ELC = git.elc vc-git.elc git-blame.elc
|
||||||
INSTALL ?= install
|
INSTALL ?= install
|
||||||
INSTALL_ELC = $(INSTALL) -m 644
|
INSTALL_ELC = $(INSTALL) -m 644
|
||||||
prefix ?= $(HOME)
|
prefix ?= $(HOME)
|
||||||
@ -15,6 +15,6 @@ install: all
|
|||||||
$(INSTALL_ELC) $(ELC) $(emacsdir)
|
$(INSTALL_ELC) $(ELC) $(emacsdir)
|
||||||
|
|
||||||
%.elc: %.el
|
%.elc: %.el
|
||||||
$(EMACS) --batch --eval '(byte-compile-file "$<")'
|
$(EMACS) -batch -f batch-byte-compile $<
|
||||||
|
|
||||||
clean:; rm -f $(ELC)
|
clean:; rm -f $(ELC)
|
||||||
|
Loading…
Reference in New Issue
Block a user