projects
/
uffi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r2175: *** empty log message ***
[uffi.git]
/
make-debian.sh
diff --git
a/make-debian.sh
b/make-debian.sh
index 838a9773b692c44fbcf27eab1f0702ab295cf500..9c05fcb2f3eb0128c324677bf4844735e0cbc47a 100644
(file)
--- a/
make-debian.sh
+++ b/
make-debian.sh
@@
-1,11
+1,16
@@
#!/bin/bash
#!/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"
echo "Building Debian files"
-cvs-buildpackage -rfakeroot -kkevin@rosenberg.net -H${TOPDIR}/cvsbp-prepare -tC -i.pdf ${DEBPKG}
+cvs-buildpackage -rfakeroot -kkevin@rosenberg.net -H${TOPDIR}/cvsbp-prepare.sh -i.pdf -F -d ${DEBPKG} -uc -us
+
+rm -rf ${PACKAGE_DIR}/${DEBPKG}-${DEBVERSION}
if [ ! -z ${opt_lintian} ]; then
pushd ${PACKAGE_DIR} > /dev/null
if [ ! -z ${opt_lintian} ]; then
pushd ${PACKAGE_DIR} > /dev/null