2 # This script is run from the top level scripts. You can rely on
3 # the following environment variables being set:
5 # $BMTARBALL - relative path to the release source tarball (bz2)
6 # $BMTARBASE - basename of the source tarball (bz2)
7 # $BMBUILDDIR - directory to place resulting binary package tree
13 # Build the local DEB's
15 rm -rf /tmp/bmbuildlocaldeb
16 mkdir /tmp/bmbuildlocaldeb
17 tar -C /tmp/bmbuildlocaldeb -xjvf "$BMTARBALL"
18 (cd /tmp/bmbuildlocaldeb/binary-meta* && make -j2 debian-all)
19 mkdir -p "$BMBUILDDIR/dists/squeeze/main/binary-i386"
20 mv /tmp/bmbuildlocaldeb/binary-meta*/debian/*.deb "$BMBUILDDIR/dists/squeeze/main/binary-i386"
26 rm -rf /tmp/bmbuildlocaldeb