From: j8takagi Date: Wed, 30 Jan 2013 11:57:16 +0000 (+0900) Subject: git.mkを追加 X-Git-Url: https://j8takagi.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71194a27c42229172b2eec381c9d41f164a01d14;p=exopen-mode.git 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