summaryrefslogtreecommitdiff
path: root/bin/clean
diff options
context:
space:
mode:
Diffstat (limited to 'bin/clean')
-rwxr-xr-xbin/clean30
1 files changed, 30 insertions, 0 deletions
diff --git a/bin/clean b/bin/clean
new file mode 100755
index 0000000..371d0f3
--- /dev/null
+++ b/bin/clean
@@ -0,0 +1,30 @@
+#!/bin/bash
+
+# This file is part of RTSAdmin Community Edition.
+# Copyright (c) 2011 by RisingTide Systems LLC
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, version 3 (AGPLv3).
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+rm -v rtsadmin/*.pyc rtsadmin/*.html 2>/dev/null
+rm -rvf doc 2>/dev/null
+rm -rfv rtsadmin.egg-info MANIFEST build dist 2>/dev/null
+rm -rvf pdf html 2>/dev/null
+rm -rvf debian/tmp 2>/dev/null
+rm -v build-stamp 2>/dev/null
+rm -v dpkg-buildpackage.log dpkg-buildpackage.version 2>/dev/null
+rm -rfv *.rpm warnrtsadmin.txt buildrtsadmin 2>/dev/null
+rm -v debian/*.debhelper.log debian/*.debhelper debian/*.substvars debian/files 2>/dev/null
+rm -vrf debian/rtsadmin-frozen/ debian/rtsadmin-python2.5/ debian/rtsadmin-python2.6/ debian/rtsadmin/ debian/rtsadmin-doc/ 2>/dev/null
+
+echo "Finished cleanup."
+