Merge branch
authorj8takagi <j8takagi@nifty.com>
Wed, 30 Jan 2013 23:16:24 +0000 (08:16 +0900)
committerj8takagi <j8takagi@nifty.com>
Wed, 30 Jan 2013 23:16:24 +0000 (08:16 +0900)
Makefile
git.mk [new file with mode: 0644]

index 0b52508..5904422 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -23,3 +23,5 @@ clean:
 
 %.elc: %.el
        $(COMPILE.el) $<
+
+include git.mk
diff --git a/git.mk b/git.mk
new file mode 100644 (file)
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