summaryrefslogtreecommitdiff
path: root/clean.sh
diff options
context:
space:
mode:
Diffstat (limited to 'clean.sh')
-rwxr-xr-xclean.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/clean.sh b/clean.sh
index 82ced56..009d44c 100755
--- a/clean.sh
+++ b/clean.sh
@@ -5,6 +5,8 @@
# 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
@@ -18,3 +20,6 @@ find src -name tuxanci-\* -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