X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=debian%2Fmake-debian.sh;h=0fd564462fa41c9f331cfe31433c67fdf96d5bf4;hb=b990d2bcfe8f1a215bdbd1061f844e4973a496f5;hp=53bd24d0ac70bc93157f2a74578acc1d740df476;hpb=058b5c71b81113e05afcb812a5ec4ab9a0d82423;p=uffi.git diff --git a/debian/make-debian.sh b/debian/make-debian.sh index 53bd24d..0fd5644 100755 --- a/debian/make-debian.sh +++ b/debian/make-debian.sh @@ -1,23 +1,5 @@ -#!/bin/bash +#!/bin/bash -e -set -e - -PKG=uffi -DEBPKG=cl-uffi - -PACKAGE_DIR=/usr/local/src/Packages/${DEBPKG} -WORK_DIR=/usr/local/src/Work/${PKG} - -echo "Building Debian files" -export CVSROOT=`cat CVS/Root` -pushd ${WORK_DIR} > /dev/null -cvs-buildpackage -rfakeroot -kkevin@rosenberg.net -F -d ${DEBPKG} -uc -us -sa -i.cvsignore $* -popd > /dev/null - -echo "Checking package with lintian" -DEBVERSION=`sed -n -e "s/${DEBPKG} (\(.*\)).*/\1/p" < ${WORK_DIR}/debian/changelog |head -1` -pushd ${PACKAGE_DIR} > /dev/null -lintian ${DEBPKG}_${DEBVERSION}_*.changes -popd > /dev/null +bdeb.sh -Suffi -Dcl-uffi -c -Hdebian/cvsbp-prepare.sh exit 0