blob: f8fa0920511c424bd404552adbc65fffd67257ca [file] [log] [blame]
James Kuszmaul4cb043c2021-01-17 11:25:51 -08001#!/bin/bash -e
2# $Id: make-deb 2770 2013-05-30 08:46:46Z dreibh $
3#
4# Debian Packaging Scripts
5# Copyright (C) 2002-2017 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./clean-deb
23./make-deb trusty wily xenial yakkety zesty unstable
24changeFiles=`ls *.changes`
25for changeFile in $changeFiles ; do
26 if [[ $changeFile =~ .*[0-9](ppa|ubuntu)[0-9].* ]] ; then
27 dput ppa $changeFile
28 else
29 dput mentors $changeFile
30 fi
31done