]> git.saurik.com Git - wxWidgets.git/blame - wxPython/distrib/all/do-build-deb
ignore warning 4535 for VC8 too as it still seems to be harmless
[wxWidgets.git] / wxPython / distrib / all / do-build-deb
CommitLineData
67071773
RD
1#!/bin/bash
2# ---------------------------------------------------------------------------
3
4set -o errexit
6ca74490 5#set -o xtrace
67071773
RD
6
7echo "-=-=-=- Hello from $HOSTNAME -=-=-=-"
8
9VERSION=$1
10VER2=$2
11
12
13tar xjf wxPython-src-$VERSION.tar.bz2
14rm wxPython-src-$VERSION.tar.bz2
15
16mv wxPython-src-$VERSION wxwidgets$VER2-$VERSION
17cd wxwidgets$VER2-$VERSION
18
19CLVERSION=`dpkg-parsechangelog | sed -n 's/Version: //p' | sed 's/-.*//'`
20if [ $CLVERSION != $VERSION ]; then
21 dch --newversion $VERSION-0 "automated build"
22fi
23
24debian/rules debian/control
25dpkg-buildpackage -rfakeroot -us -uc
26
27cd ..
28rm -r wxwidgets$VER2-$VERSION
29
30echo "-=-=-=- Goodbye! -=-=-=-"
31exit 0