From: Jer Noble Date: Wed, 25 Sep 2013 21:49:39 +0000 (-0700) Subject: Added Makefile for installation; removed install.sh X-Git-Url: http://105106.c2e0p.group/dotfiles.git/commitdiff_plain/4fda9c133d174a4cddb03b4a2f03694e77ec1a77?hp=10f7a98c1e9de39a3b8f3ab18cf63d2c3a62b082 Added Makefile for installation; removed install.sh --- diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..78ab1dc --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +DOTFILES := $(shell pwd) + +all: ~/.aliases ~/.bash_login ~/.ssh/ssh_config ~/.vimrc ~/.zlogin +~/.aliases: $(DOTFILES)/aliases + ln -fs $^ $@ +~/.bash_login: $(DOTFILES)/bash_login + ln -fs $^ $@ +~/.ssh/ssh_config: $(DOTFILES)/ssh_config + ln -fs $^ $@ +~/.vimrc: $(DOTFILES)/vimrc + ln -fs $^ $@ +~/.zlogin: $(DOTFILES)/zsh_login + ln -fs $^ $@ diff --git a/install.sh b/install.sh deleted file mode 100755 index 1ee6e55..0000000 --- a/install.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -ln -hfs $PWD/aliases ~/.aliases -ln -hfs $PWD/bash_login ~/.bash_login -ln -hfs $PWD/ssh_config ~/.ssh/config -ln -hfs $PWD/vimrc ~/.vimrc -ln -hfs $PWD/zsh_login ~/.zlogin