From: Xavier Maillard Date: Mon, 5 Mar 2007 08:23:42 +0000 (+0100) Subject: contrib/emacs: Use non-interactive function to byte-compile files X-Git-Tag: v1.5.1-rc1~93 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5ced0572217f82f20c4a3460492768e07c08aeea;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/contrib/emacs/Makefile b/contrib/emacs/Makefile index 350846de9..8554e3967 100644 --- a/contrib/emacs/Makefile +++ b/contrib/emacs/Makefile @@ -2,7 +2,7 @@ EMACS = emacs -ELC = git.elc vc-git.elc +ELC = git.elc vc-git.elc git-blame.elc INSTALL ?= install INSTALL_ELC = $(INSTALL) -m 644 prefix ?= $(HOME) @@ -15,6 +15,6 @@ install: all $(INSTALL_ELC) $(ELC) $(emacsdir) %.elc: %.el - $(EMACS) --batch --eval '(byte-compile-file "$<")' + $(EMACS) -batch -f batch-byte-compile $< clean:; rm -f $(ELC)