From 4fda9c133d174a4cddb03b4a2f03694e77ec1a77 Mon Sep 17 00:00:00 2001 From: Jer Noble Date: Wed, 25 Sep 2013 14:49:39 -0700 Subject: [PATCH 1/1] Added Makefile for installation; removed install.sh --- Makefile | 13 +++++++++++++ install.sh | 7 ------- 2 files changed, 13 insertions(+), 7 deletions(-) create mode 100644 Makefile delete mode 100755 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 -- 2.40.1