projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r2235: Autocommit for make-debian
[ctsim.git]
/
debian
/
make-debian.sh
diff --git
a/debian/make-debian.sh
b/debian/make-debian.sh
index a3d6a729cb92f5768bc4b05a644d5554ddfcbd7d..d25c49eb3a9ac4a794b70981f0174b369ee743cf 100755
(executable)
--- a/
debian/make-debian.sh
+++ b/
debian/make-debian.sh
@@
-1,10
+1,11
@@
-#!/bin/bash
+#!/bin/bash -e
+
+bdeb.sh -Sctsim -c -Hdebian/cvsbp-prepare.sh
+exit 0
PKG=ctsim
DEBPKG=ctsim
PKG=ctsim
DEBPKG=ctsim
-set -e
-
BASE_HOME=/usr/local/src
WORK_HOME=${BASE_HOME}/Work
WORK_DIR=${WORK_HOME}/${PKG}
BASE_HOME=/usr/local/src
WORK_HOME=${BASE_HOME}/Work
WORK_DIR=${WORK_HOME}/${PKG}
@@
-30,8
+31,10
@@
cd ${WORK_DIR}
test -s CVS/Root && export CVSROOT=`cat CVS/Root`
echo "Building Debian files"
test -s CVS/Root && export CVSROOT=`cat CVS/Root`
echo "Building Debian files"
-cvs-buildpackage -rfakeroot -kkevin@rosenberg.net -H${WORK_DIR}/debian/cvsbp-prepare.sh -i"\.pdf|\.htb" -F $* -d ${DEBPKG} -uc -us -sa > ${BUILD_LOG} 2>&1
+cvs com -m 'Autocommit for make-debian'
+cvs-buildpackage -rfakeroot -kkevin@rosenberg.net -H${WORK_DIR}/debian/cvsbp-prepare.sh -i -F $* -d ${DEBPKG} -uc -us -sa > ${BUILD_LOG} 2>&1
+echo "Checking package"
test -s ${PACKAGE_DIR}/${DEBPKG}_${DEBVERSION}_*.changes && \
(cd ${PACKAGE_DIR}; \
lintian ${DEBPKG}_${DEBVERSION}_*.changes)
test -s ${PACKAGE_DIR}/${DEBPKG}_${DEBVERSION}_*.changes && \
(cd ${PACKAGE_DIR}; \
lintian ${DEBPKG}_${DEBVERSION}_*.changes)