diff options
author | Urbain Vaes <urbain@vaes.uk> | 2015-09-16 17:00:38 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2015-09-16 17:00:38 +0100 |
commit | f4c3b9deb9f931cd2284bb0a368e3147f1f74669 (patch) | |
tree | c42820be82c56e960b71acdb85ece0288b4eb15b /install.sh | |
parent | 9bf09de19f4a541063610b63f439702c6c96f362 (diff) |
Add Makefile for installation
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/install.sh b/install.sh deleted file mode 100755 index c06d497..0000000 --- a/install.sh +++ /dev/null @@ -1,28 +0,0 @@ -#! /bin/bash - -dotdir=/home/urbain/dotfiles - - -install_dotfiles() { - for file in `ls -A --ignore="install.sh" --ignore="README.md" --ignore=".git*"`; do - if [[ -f $file/Makefile ]]; then - cd $file && make && cd $dotdir - else - rm -f $HOME/$file && ln -s $dotdir/$file $HOME/$file - fi - done -} - - -clean_dotfiles() { - for file in `ls -A --ignore="install.sh" --ignore="README.md" --ignore=".git*"`; do - if [[ -f $file/Makefile ]]; then - cd $file && make clean && cd $dotdir - else - rm -f $HOME/$file - fi - done -} - -clean_dotfiles -install_dotfiles |