From 71194a27c42229172b2eec381c9d41f164a01d14 Mon Sep 17 00:00:00 2001 From: j8takagi Date: Wed, 30 Jan 2013 20:57:16 +0900 Subject: [PATCH] =?utf8?q?git.mk=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Makefile | 2 ++ git.mk | 14 ++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 git.mk diff --git a/Makefile b/Makefile index 657a0e5..0e99818 100644 --- a/Makefile +++ b/Makefile @@ -18,3 +18,5 @@ clean: %.elc: %.el $(COMPILE.el) $< + +include git.mk diff --git a/git.mk b/git.mk new file mode 100644 index 0000000..4065935 --- /dev/null +++ b/git.mk @@ -0,0 +1,14 @@ +GIT := git + +REPO := www.j8takagi.net:/home/git + +.PHONY: gitorigin gitpush gitorigin-clean + +gitpush: + $(GIT) push --set-upstream origin master + +gitorigin: + $(GIT) remote add origin $(REPO)/$(notdir $(CURDIR)).git + +gitorigin-clean: + $(GIT) remote remove origin -- 2.18.0