summaryrefslogtreecommitdiff
path: root/bin/install
blob: bc21136b80f1dce1be246111b79f1252213da474 (plain)
1
2
3
4
5
6
7
8
9
#! /bin/bash
dotdir=/home/urbain/dotfiles && cd $dotdir
for file in `ls -A --ignore="Makefile" --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