summaryrefslogtreecommitdiff
path: root/clean.sh
diff options
context:
space:
mode:
Diffstat (limited to 'clean.sh')
-rwxr-xr-xclean.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/clean.sh b/clean.sh
index 73a0637..82ced56 100755
--- a/clean.sh
+++ b/clean.sh
@@ -7,9 +7,14 @@
find ./ -type d -name CMakeFiles -print | xargs -i rm {} -rf
# remove cmake files
-find ./ \( -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 \*.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
+
+# remove compiled gettext files
+find ./ -name \*.gmo -print | xargs -i rm {} -f