It is much easier to extend in the future.
+++ /dev/null
-# Makefile for VCS configuration files.
-
-
-# Generate necessary files and create symbolic links in ~/.
-M4=../m4.sh
-LINK=../link.sh
-.PHONY: setup
-setup:
- # Generate gitconfig.
- $(M4) gitconfig -DHOME=$(HOME)
- # Link setup.
- $(LINK) gitconfig ~/.gitconfig
- $(LINK) gitignore ~/.gitignore
- $(LINK) hgrc ~/.hgrc
- $(LINK) hgignore ~/.hgignore
--- /dev/null
+# Setup script for VCS configuration files.
+
+
+. ../lib.sh
+
+# Generate gitconfig.
+m4 gitconfig -DHOME=$HOME
+
+# Link setup.
+link gitconfig ~/.gitconfig
+link gitignore ~/.gitignore
+link hgrc ~/.hgrc
+link hgignore ~/.hgignore