X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=debian%2Fmake-debian.sh;h=ae089632a1fa2ca7cd504d050dad32bf85f5168f;hb=98d2e30a15ee93625811c13ae9e3a7778313b7a7;hp=574fc823479d9980d19d0e3513f9d60c6f0f0788;hpb=21cd6d665b303f493eab5bb9d71e198d704e914d;p=clsql.git diff --git a/debian/make-debian.sh b/debian/make-debian.sh index 574fc82..ae08963 100755 --- a/debian/make-debian.sh +++ b/debian/make-debian.sh @@ -1,19 +1,5 @@ -#!/bin/bash +#!/bin/bash -e -PKG=clsql -DEBPKG=cl-sql -PACKAGE_DIR=/usr/local/src/Packages/${DEBPKG} -WORK_DIR=/usr/local/src/Work/${PKG} - -DEBVERSION=`sed -n -e "s/${DEBPKG} (\(.*\)).*/\1/p" < ${WORK_DIR}/debian/changelog |head -1` - -export CVSROOT=`cat CVS/Root` - -echo "Building Debian files" -cvs-buildpackage -rfakeroot -kkevin@rosenberg.net -F -d ${DEBPKG} -uc -us -i.cvsignore $* - -pushd ${PACKAGE_DIR} > /dev/null -lintian ${DEBPKG}_${DEBVERSION}_*.changes -popd > /dev/null +bdeb.sh -Sclsql -Dcl-sql -bc -Hdebian/cvsbp-prepare.sh exit 0