4 DEBVERSION=`sed -n -e "s/${DEBPKG} (\(.*\)).*/\1/p" < debian/changelog |head -1`
6 PACKAGE_DIR=/usr/local/src/Packages/${DEBPKG}
8 export CVSROOT=`cat CVS/Root`
10 echo "Building Debian files"
11 cvs-buildpackage -rfakeroot -kkevin@rosenberg.net -H${TOPDIR}/cvsbp-prepare -tC -i.pdf -F ${DEBPKG}
13 if [ ! -z ${opt_lintian} ]; then
14 pushd ${PACKAGE_DIR} > /dev/null
15 lintian ${DEBPKG}_${DEBVERSION}_*.changes