From: j8takagi Date: Thu, 31 Jan 2013 01:31:30 +0000 (+0900) Subject: git.mkを削除 X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba2e78797c9d97fcaad81035f69add14d9b68864;hp=c3a4054b66143a509d70ec85da1745538c059f28;p=exopen-mode.git git.mkを削除 git pushの自動化を意図したが、本プロジェクトとは本質的に無関係なため --- diff --git a/Makefile b/Makefile index 5904422..cf54d44 100644 --- 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 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