summaryrefslogtreecommitdiff
path: root/clean.sh
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-03-12 13:43:22 +0100
committerTomas Chvatal <scarabeus@gentoo.org>2009-03-12 13:43:22 +0100
commit02f1b503f4822f4738584cf712da078cce47d3bd (patch)
tree20e7c265686ee589b4d934a273b896ef20ac3b3e /clean.sh
parentb9804b72d80269cd51ae58808d7d980bc82df23b (diff)
Cleanup in root folder
Diffstat (limited to 'clean.sh')
-rwxr-xr-xclean.sh29
1 files changed, 0 insertions, 29 deletions
diff --git a/clean.sh b/clean.sh
deleted file mode 100755
index 2fa707b..0000000
--- a/clean.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env bash
-
-# remove compiled files
-[ -e "[Mm]akefile" ] && make clean
-
-# remove folders
-find ./ -type d -name CMakeFiles -print | xargs -i rm {} -rf
-# some people build Tuxanci in speacial folder
-rm -rf ./build
-
-# remove cmake files
-find ./ \( -type f -name \*.so -print , -type f -name \*.cmake -print , -type f -name CMakeCache.txt -print , -type f -name Makefile -print \) | grep -v "./cmake" | xargs -i rm {} -f
-find ./ \( -type f -name install_manifest.txt -print , -type f -name cmake_install.cmake -print \) | xargs -i rm {} -f
-
-# remove precompiled in files
-find ./ -name \*.in -print | while read r; do rm -f ${r/\.in/}; done
-
-# remove compiled binaries
-find src -name tuxanci -print | xargs -i rm {} -f
-find src -name tuxanci-server -print | xargs -i rm {} -f
-
-# remove compiled gettext files
-find ./ -name \*.gmo -print | xargs -i rm {} -f
-
-# remove temporary backup files
-find ./ -type f -name \*~ -print | xargs -i rm {} -f
-
-# remove so libraries
-find ./src/modules -type f -name mod\*.so\* | xargs -i rm {} -f