X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=debian%2Fmake-debian.sh;h=05927795cb2b8c3f12995a0dfd644983cc286ae5;hb=982ba4d6989fd506d6203e63472afecf9a097349;hp=d9c6d90da07f81a793a8def73af7d531ce53ad4b;hpb=aecee14abac427c3fe2625516da49eaa2bf40503;p=ctsim.git diff --git a/debian/make-debian.sh b/debian/make-debian.sh index d9c6d90..0592779 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.sh -Sctsim -bc -bp $* exit 0