{"thread":{"id":"3571","subject":"[PATCH] contrib/emacs/Makefile: Provide tool for byte-compiling files.","startedAt":"2006-03-05T16:14:31Z","lastAt":"2006-03-05T19:28:53Z","messageCount":2,"participants":["Mark Wooding","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"17193","messageId":"20060305161431.23622.20032.stgit@metalzone.distorted.org.uk","threadId":"3571","inReplyTo":null,"subject":"[PATCH] contrib/emacs/Makefile: Provide tool for byte-compiling files.","fromName":"Mark Wooding","fromEmail":"mdw@distorted.org.uk","sentAt":"2006-03-05T16:14:31Z","receivedAt":"2006-03-05T16:14:31Z","isPatch":true,"sender":{"key":"mdw@distorted.org.uk","avatar":null},"body":"From: Mark Wooding <mdw@distorted.org.uk>\n\nSigned-off-by: Mark Wooding <mdw@distorted.org.uk>\n---\n\n contrib/emacs/.gitignore |    1 +\n contrib/emacs/Makefile   |   20 ++++++++++++++++++++\n 2 files changed, 21 insertions(+), 0 deletions(-)\n\ndiff --git a/contrib/emacs/.gitignore b/contrib/emacs/.gitignore\nnew file mode 100644\nindex 0000000..c531d98\n--- /dev/null\n+++ b/contrib/emacs/.gitignore\n@@ -0,0 +1 @@\n+*.elc\ndiff --git a/contrib/emacs/Makefile b/contrib/emacs/Makefile\nnew file mode 100644\nindex 0000000..d3619db\n--- /dev/null\n+++ b/contrib/emacs/Makefile\n@@ -0,0 +1,20 @@\n+## Build and install stuff\n+\n+EMACS = emacs\n+\n+ELC = git.elc vc-git.elc\n+INSTALL = install\n+INSTALL_ELC = $(INSTALL) -m 644\n+prefix = $(HOME)\n+emacsdir = $(prefix)/share/emacs/site-lisp\n+\n+all: $(ELC)\n+\n+install: all\n+\t$(INSTALL) -d $(emacsdir)\n+\t$(INSTALL_ELC) $(ELC) $(emacsdir)\n+\n+%.elc: %.el\n+\t$(EMACS) --batch --eval '(byte-compile-file \"$<\")'\n+\n+clean:; rm -f $(ELC)\n"},{"id":"17199","messageId":"7v1wxgheru.fsf@assigned-by-dhcp.cox.net","threadId":"3571","inReplyTo":"20060305161431.23622.20032.stgit@metalzone.distorted.org.uk","subject":"Re: [PATCH] contrib/emacs/Makefile: Provide tool for byte-compiling files.","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2006-03-05T19:28:53Z","receivedAt":"2006-03-05T19:28:53Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Alexandre, this looks good to me, so I'll be applying it.\n\n-jc\n\nMark Wooding <mdw@distorted.org.uk> writes:\n\n> From: Mark Wooding <mdw@distorted.org.uk>\n>\n> Signed-off-by: Mark Wooding <mdw@distorted.org.uk>\n> ---\n>\n>  contrib/emacs/.gitignore |    1 +\n>  contrib/emacs/Makefile   |   20 ++++++++++++++++++++\n>  2 files changed, 21 insertions(+), 0 deletions(-)\n>\n> diff --git a/contrib/emacs/.gitignore b/contrib/emacs/.gitignore\n> new file mode 100644\n> index 0000000..c531d98\n> --- /dev/null\n> +++ b/contrib/emacs/.gitignore\n> @@ -0,0 +1 @@\n> +*.elc\n> diff --git a/contrib/emacs/Makefile b/contrib/emacs/Makefile\n> new file mode 100644\n> index 0000000..d3619db\n> --- /dev/null\n> +++ b/contrib/emacs/Makefile\n> @@ -0,0 +1,20 @@\n> +## Build and install stuff\n> +\n> +EMACS = emacs\n> +\n> +ELC = git.elc vc-git.elc\n> +INSTALL = install\n> +INSTALL_ELC = $(INSTALL) -m 644\n> +prefix = $(HOME)\n> +emacsdir = $(prefix)/share/emacs/site-lisp\n> +\n> +all: $(ELC)\n> +\n> +install: all\n> +\t$(INSTALL) -d $(emacsdir)\n> +\t$(INSTALL_ELC) $(ELC) $(emacsdir)\n> +\n> +%.elc: %.el\n> +\t$(EMACS) --batch --eval '(byte-compile-file \"$<\")'\n> +\n> +clean:; rm -f $(ELC)\n"}]}