aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2020-04-02 11:07:00 +0800
committertypebrook <typebrook@gmail.com>2020-04-02 11:07:00 +0800
commite1950146c7d1471974c1787c371329a25f98d93e (patch)
tree4b83fdbba700ac4a1e06d70235d5f05a5e59f68d /Makefile
parent108eeb49ed65c6461282445b4ba8255eeb17d448 (diff)
update
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6bac2da..977c397 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
1.PHONY: * 1.PHONY: *
2 2
3all: git vim tig 3all: git vim tig
4 mkdir -p ~/git
4 5
5git: 6git:
6 rm -f ~/.gitconfig 7 rm -f ~/.gitconfig
@@ -22,11 +23,14 @@ vim:
22tig: 23tig:
23 rm -f ~/.tigrc 24 rm -f ~/.tigrc
24 ln -s `pwd`/tigrc ~/.tigrc 25 ln -s `pwd`/tigrc ~/.tigrc
26 if [ ! -d "$(HOME)/git/tig" ]; then \
27 git clone --depth=100 https://github.com/typebrook/tig ~/git/tig; \
28 fi
25 29
26wiki: 30wiki:
27 # vimwiki 31 # vimwiki
28 if [ ! -d "$(HOME)/.vimwiki" ]; then \ 32 if [ ! -d "$(HOME)/.vimwiki" ]; then \
29 git clone --depth=1 https://github.com/typebrook/wiki.git ~/vimwiki 33 git clone https://github.com/typebrook/wiki.git ~/vimwiki; \
30 fi 34 fi
31 35
32crontab: 36crontab: