git.mkを削除
authorj8takagi <j8takagi@nifty.com>
Thu, 31 Jan 2013 01:31:30 +0000 (10:31 +0900)
committerj8takagi <j8takagi@nifty.com>
Thu, 31 Jan 2013 01:31:53 +0000 (10:31 +0900)
git pushの自動化を意図したが、本プロジェクトとは本質的に無関係なため

Makefile
git.mk [deleted file]

index 5904422..cf54d44 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
 prefix ?= /usr/local
-elispdir ?= $(prefix)/share/emacs/site-lisp/exopen-mode
+elispdir ?= $(prefix)/share/emacs/site-lisp
+installdir ?= $(elispdir)/exopen-mode
 
 .PHONY: install clean
 
@@ -12,16 +13,14 @@ INSTALL := install
 $(addsuffix c,$(TARGETS)):
 
 install: $(TARGETS) $(addsuffix c,$(TARGETS))
-       $(INSTALL) -d $(elispdir)
-       $(INSTALL) $^ $(elispdir)/
+       $(INSTALL) -d $(installdir)
+       $(INSTALL) $^ $(installdir)/
 
 uninstall:
-       $(RM) $(prefix $(elispdir)/,$(TARGETS)) $(suffix c,$(prefix $(elispdir)/,$(TARGETS)))
+       $(RM) $(prefix $(installdir)/,$(TARGETS)) $(suffix c,$(prefix $(installdir)/,$(TARGETS)))
 
 clean:
        $(RM) *.elc
 
 %.elc: %.el
        $(COMPILE.el) $<
-
-include git.mk
diff --git a/git.mk b/git.mk
deleted file mode 100644 (file)
index 4065935..0000000
--- a/git.mk
+++ /dev/null
@@ -1,14 +0,0 @@
-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