Commit 20798ab

mo khan <mo.khan@gmail.com>
2019-11-23 06:52:40
Add Makefile
1 parent 3e0f2d4
bin/setup
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-set -xe
-
-export GIT_ALLOW_PROTOCOL=file:git:http:https:ssh
-git submodule update --init --remote
-
-ln -sfh "$PWD/vimrc" "$HOME/.vimrc"
-ln -sfh "$PWD" "$HOME/.vim"
bin/update
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-git submodule foreach 'git fetch origin && git reset --hard origin/master'
install.sh
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-./bin/setup
Makefile
@@ -0,0 +1,10 @@
+SHELL := /bin/bash
+
+default: export GIT_ALLOW_PROTOCOL=file:git:http:https:ssh
+default:
+	git submodule update --init --remote
+	ln -sfh ${PWD}/vimrc ${HOME}/.vimrc
+	ln -sfh ${PWD} ${HOME}/.vim
+
+update:
+	git submodule foreach 'git fetch origin && git reset --hard origin/master'