X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=make-debian.sh;h=0fa2ebb2204f802be46b34a066f050f4a6d45f7d;hb=e07dc7255b7df36b81b7f95db2e95f6c9c78e70a;hp=838a9773b692c44fbcf27eab1f0702ab295cf500;hpb=0df6492462f26d4fe2b366d60130a2b202b15c92;p=uffi.git diff --git a/make-debian.sh b/make-debian.sh index 838a977..0fa2ebb 100644 --- a/make-debian.sh +++ b/make-debian.sh @@ -1,11 +1,14 @@ #!/bin/bash -if [ -z ${opt_dpkg_buildpackage} ]; then - export CVSROOT=`cat CVS/Root` -fi +DEBPKG=cl-uffi +DEBVERSION=`sed -n -e "s/${DEBPKG} (\(.*\)).*/\1/p" < debian/changelog |head -1` +TOPDIR=`pwd` +PACKAGE_DIR=/usr/local/src/Packages/${DEBPKG} + +export CVSROOT=`cat CVS/Root` echo "Building Debian files" -cvs-buildpackage -rfakeroot -kkevin@rosenberg.net -H${TOPDIR}/cvsbp-prepare -tC -i.pdf ${DEBPKG} +cvs-buildpackage -rfakeroot -kkevin@rosenberg.net -mkevin@rosenberg.net -H${TOPDIR}/cvsbp-prepare -tC -i.pdf -F ${DEBPKG} if [ ! -z ${opt_lintian} ]; then pushd ${PACKAGE_DIR} > /dev/null