summaryrefslogtreecommitdiff
path: root/bin/clean
blob: 371d0f3947ca7c1f075085b4e2b822efbc5f81c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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."