As all my debian packages are under revision control with SVN, I use svn-buildpackage to build them. To avoid running linda and lintian manually after a package has been built, I use the following script:
svn-postbuild.sh:
#!/bin/sh echo "==================================================" echo "Running postbuild operations: " rm -f $HOME/dev/debian/build-area/$1*_source.changes echo "lintian:" lintian -i $HOME/dev/debian/build-area/$1*$2*_i386.changes echo "--" echo "linda:" linda -s -i $HOME/dev/debian/build-area/$1*$2*_i386.changes echo "--" rm -rf $HOME/dev/debian/build-area/*.obsolete.* echo "done." echo "=================================================="
This script is called from ~/.svn-buidpackage.conf. Mine looks like this:
svn-builder=pdebuild --buildresult $HOME/dev/debian/build-area --debsign-k 9F71D449
svn-postbuild=$HOME/svn-postbuild.sh ${package} ${upstream_version}
You will find here some information about me and my different projects. I am involved in several open source projects, and try to promote Free software. This site is thus mainly dedicated to Free Software use on GNU/Linux systems. Please do not hesitate to contact me for any comments on this site.