From ba2e78797c9d97fcaad81035f69add14d9b68864 Mon Sep 17 00:00:00 2001 From: j8takagi Date: Thu, 31 Jan 2013 10:31:30 +0900 Subject: [PATCH] =?utf8?q?git.mk=E3=82=92=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git pushの自動化を意図したが、本プロジェクトとは本質的に無関係なため --- Makefile | 11 +++++------ git.mk | 14 -------------- 2 files changed, 5 insertions(+), 20 deletions(-) delete mode 100644 git.mk 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 -- 2.18.0