James Kuszmaul | 4cb043c | 2021-01-17 11:25:51 -0800 | [diff] [blame^] | 1 | #!/bin/bash |
| 2 | # $Id: clean-deb 1365 2012-04-21 19:21:13Z dreibh $ |
| 3 | # |
| 4 | # Debian Packaging Scripts |
| 5 | # Copyright (C) 2002-2012 by Thomas Dreibholz |
| 6 | # |
| 7 | # This program is free software: you can redistribute it and/or modify |
| 8 | # it under the terms of the GNU General Public License as published by |
| 9 | # the Free Software Foundation, either version 3 of the License, or |
| 10 | # (at your option) any later version. |
| 11 | # |
| 12 | # This program is distributed in the hope that it will be useful, |
| 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | # GNU General Public License for more details. |
| 16 | # |
| 17 | # You should have received a copy of the GNU General Public License |
| 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 19 | # |
| 20 | # Contact: dreibh@iem.uni-due.de |
| 21 | |
| 22 | . ./debian.conf |
| 23 | |
| 24 | CHANGELOG_HEADER="`head -n1 debian/changelog`" |
| 25 | PACKAGE=`echo $CHANGELOG_HEADER | sed -e "s/(.*//" -e "s/ //g"` |
| 26 | |
| 27 | rm -f *.deb *.dsc *.asc *.changes *.build *.upload *.tar.gz stamp-h* svn-commit* *~ |
| 28 | rm -rf $PACKAGE-[0-9]*.[0-9]*.* $PACKAGE"_"[0-9]*.[0-9]*.* CMakeFiles _CPack_Packages |