summaryrefslogtreecommitdiff
path: root/bin/clean
diff options
context:
space:
mode:
Diffstat (limited to 'bin/clean')
-rwxr-xr-xbin/clean4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/clean b/bin/clean
index eb69236..75eb89e 100755
--- a/bin/clean
+++ b/bin/clean
@@ -2,8 +2,8 @@
dotdir=/home/urbain/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
+ cd $file && make clean && cd $dotdir
else
- rm -f $HOME/$file && ln -s $dotdir/$file $HOME/$file
+ rm -f $HOME/$file
fi
done