Commit 20798ab
Changed files (4)
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'