Code

Merge branch 'maint'
[git.git] / contrib / emacs / Makefile
index 350846de904b31fb9dd86fee0c64613a7632c6aa..8554e3967cc692c6916e5aee35952074d07e8bf0 100644 (file)
@@ -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)