summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0aee3d6)
raw | patch | inline | side by side (parent: 0aee3d6)
author | Mark Wooding <mdw@distorted.org.uk> | |
Sun, 5 Mar 2006 16:14:31 +0000 (16:14 +0000) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 5 Mar 2006 19:32:49 +0000 (11:32 -0800) |
Signed-off-by: Mark Wooding <mdw@distorted.org.uk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
contrib/emacs/.gitignore | [new file with mode: 0644] | patch | blob |
contrib/emacs/Makefile | [new file with mode: 0644] | patch | blob |
diff --git a/contrib/emacs/.gitignore b/contrib/emacs/.gitignore
--- /dev/null
+++ b/contrib/emacs/.gitignore
@@ -0,0 +1 @@
+*.elc
diff --git a/contrib/emacs/Makefile b/contrib/emacs/Makefile
--- /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)