X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=debian%2Fmake-debian.sh;h=70f6030e8ad90a81adbd78d27ceaa42f08aedb78;hb=d930ef04841e4865903758fcc0e7d21934303b03;hp=d9c6d90da07f81a793a8def73af7d531ce53ad4b;hpb=aecee14abac427c3fe2625516da49eaa2bf40503;p=ctsim.git diff --git a/debian/make-debian.sh b/debian/make-debian.sh index d9c6d90..70f6030 100755 --- a/debian/make-debian.sh +++ b/debian/make-debian.sh @@ -1,26 +1,5 @@ -#!/bin/bash +#!/bin/bash -e -DEBPKG=ctsim - -WORK_HOME=/usr/local/src/Work -PKG_DIR=/usr/local/src/Packages/${DEBPKG} -WORK_DIR=${WORK_HOME}/${PKG} -PACKAGE_DIR=/usr/local/src/Packages/${DEBPKG} - -CHANGELOG=${WORK_DIR}/debian/changelog -VERSION=`sed -n -e "s/${DEBPKG} (\(.*\)-[0-9.]).*/\1/p" < ${CHANGELOG} |head -1` -DEBVERSION=`sed -n -e "s/${DEBPKG} (\(.*\)).*/\1/p" < ${CHANGELOG} |head -1` - -export CVSROOT=`cat CVS/Root` - - -echo "Building Debian files" -cvs-buildpackage -rfakeroot -kkevin@rosenberg.net -H${WORK_DIR}/debian/cvsbp-prepare.sh -i"\.pdf|\.htb" -F $* -d ${DEBPKG} -uc -us -sa - -if [ ! -z ${opt_lintian} ]; then - pushd ${PACKAGE_DIR} > /dev/null - lintian ${DEBPKG}_${DEBVERSION}_*.changes - popd > /dev/null -fi +bdeb ctsim -bc -bp $* exit 0