diff options
author | Junio C Hamano <junkio@cox.net> | 2006-03-05 22:38:22 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-03-05 22:38:22 -0800 |
commit | 3bcd59a546333ae355c87577ba63f8dccd50a519 (patch) | |
tree | 8a097c34b5a520ebe1189bdb2398c599148ffeb5 /contrib/emacs/Makefile | |
parent | Merge part of 'jc/pack' into 'next' (diff) | |
parent | Tweak asciidoc output to work with broken docbook-xsl (diff) | |
download | tgif-3bcd59a546333ae355c87577ba63f8dccd50a519.tar.xz |
Merge branch 'fd/asciidoc' into next
* fd/asciidoc:
Tweak asciidoc output to work with broken docbook-xsl
annotate-blame test: add evil merge.
annotate-blame test: don't "source", but say "."
annotate/blame tests updates.
annotate: Support annotation of files on other revisions.
git/Documentation: fix SYNOPSIS style bugs
blame: avoid "diff -u0".
git-blame: Use the same tests for git-blame as for git-annotate
blame and annotate: show localtime with timezone.
blame: avoid -lm by not using log().
git-blame: Make the output human readable
get_revision(): do not dig deeper when we know we are at the end.
documentation: add 'see also' sections to git-rm and git-add
contrib/emacs/Makefile: Provide tool for byte-compiling files.
gitignore: Ignore some more boring things.
Diffstat (limited to 'contrib/emacs/Makefile')
-rw-r--r-- | contrib/emacs/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/contrib/emacs/Makefile b/contrib/emacs/Makefile new file mode 100644 index 0000000000..d3619db510 --- /dev/null +++ b/contrib/emacs/Makefile @@ -0,0 +1,20 @@ +## Build and install stuff + +EMACS = emacs + +ELC = git.elc vc-git.elc +INSTALL = install +INSTALL_ELC = $(INSTALL) -m 644 +prefix = $(HOME) +emacsdir = $(prefix)/share/emacs/site-lisp + +all: $(ELC) + +install: all + $(INSTALL) -d $(emacsdir) + $(INSTALL_ELC) $(ELC) $(emacsdir) + +%.elc: %.el + $(EMACS) --batch --eval '(byte-compile-file "$<")' + +clean:; rm -f $(ELC) |