debuild

Debuild in its most basic form prepares the package by running dpkg-buildpackage, and then runs lintian on the package as well.

  1. Put this in ~/.profile (replace with your own values of course):

    <snip>
    export DEBEMAIL=apprentice@mycompany.com
    export DEBFULLNAME="My Name"
    	  

    Source the profile:

  2. Get some source package

  3. Try to build

  4. Add some build dependencies and retry

    (That tells debuild not sign the package, and to have lintian explain its complaints.)

  5. Remove build dependencies

    (Also removing those of building bash):