]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
Use setup.sh instead of Makefile for setup process.
authorSimon Ruderich <simon@ruderich.org>
Wed, 18 Feb 2009 17:38:42 +0000 (18:38 +0100)
committerSimon Ruderich <simon@ruderich.org>
Wed, 18 Feb 2009 17:38:42 +0000 (18:38 +0100)
It is much easier to extend in the future.

Makefile [deleted file]
setup.sh [new file with mode: 0755]

diff --git a/Makefile b/Makefile
deleted file mode 100644 (file)
index cb56ef1..0000000
--- a/Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
-# Makefile for Vim configuration files.
-
-
-# Generate necessary files and create symbolic links in ~/.
-LINK=../link.sh
-.PHONY: setup
-setup:
-       # Link setup.
-       $(LINK) vim ~/.vim
-       $(LINK) vimrc ~/.vimrc
-       $(LINK) gvimrc ~/.gvimrc
diff --git a/setup.sh b/setup.sh
new file mode 100755 (executable)
index 0000000..96724e9
--- /dev/null
+++ b/setup.sh
@@ -0,0 +1,9 @@
+# Setup script for Vim configuration files.
+
+
+. ../lib.sh
+
+# Link setup.
+link vim ~/.vim
+link vimrc ~/.vimrc
+link gvimrc ~/.gvimrc