Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
contrib/emacs: Use non-interactive function to byte-compile files
author
Xavier Maillard
<zedek@gnu.org>
Mon, 5 Mar 2007 08:23:42 +0000
(09:23 +0100)
committer
Junio C Hamano
<junkio@cox.net>
Mon, 5 Mar 2007 08:45:57 +0000
(
00:45
-0800)
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>
contrib/emacs/Makefile
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
ac3ec0d
)
diff --git
a/contrib/emacs/Makefile
b/contrib/emacs/Makefile
index 350846de904b31fb9dd86fee0c64613a7632c6aa..8554e3967cc692c6916e5aee35952074d07e8bf0 100644
(file)
--- a/
contrib/emacs/Makefile
+++ b/
contrib/emacs/Makefile
@@
-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_ELC = $(INSTALL) -m 644
prefix ?= $(HOME)
INSTALL ?= install
INSTALL_ELC = $(INSTALL) -m 644
prefix ?= $(HOME)
@@
-15,6
+15,6
@@
install: all
$(INSTALL_ELC) $(ELC) $(emacsdir)
%.elc: %.el
$(INSTALL_ELC) $(ELC) $(emacsdir)
%.elc: %.el
- $(EMACS) -
-batch --eval '(byte-compile-file "$<")'
+ $(EMACS) -
batch -f batch-byte-compile $<
clean:; rm -f $(ELC)
clean:; rm -f $(ELC)