@matheusbsbs / matheus-bagliano / commits / 5ced057221
Fork 0

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>

Xavier Maillard committed Mar 5, 2007 at 09:23 UTC 5ced0572217f82f20c4a3460492768e07c08aeea
1 file changed +2 -2
contrib/emacs/Makefile
+2 -2
@@ -2,7 +2,7 @@
2
3 EMACS = emacs
4
5 -ELC = git.elc vc-git.elc
5 +ELC = git.elc vc-git.elc git-blame.elc
6 INSTALL ?= install
7 INSTALL_ELC = $(INSTALL) -m 644
8 prefix ?= $(HOME)
@@ -15,6 +15,6 @@ install: all
15 $(INSTALL_ELC) $(ELC) $(emacsdir)
16
17 %.elc: %.el
18 - $(EMACS) --batch --eval '(byte-compile-file "$<")'
18 + $(EMACS) -batch -f batch-byte-compile $<
19
20 clean:; rm -f $(ELC)