Change to your trunk directory and run:
You may recognise the options above -- they are passed directly to
the build command (dpkg-buildpackage by default).
Normally, the build is done in another directory (exporting the source
with cp-la-like method). If you want
the resulting packages to be placed in the directory above, use the
--svn-move option. To run Lintian after the build,
use --svn-lintian option. More options are
described in the manpage.
To build in a chroot using pdebuild, use:
For frequently used commands, use an alias in your
~/.bashrc file:
Example 4.4. Useful aliases
alias svn-bp='svn-buildpackage -rfakeroot -D --svn-noautodch --svn-builder debuild' alias svn-bpi='svn-buildpackage -rfakeroot -D --svn-noautodch --svn-builder debuild --svn-ignore-new' alias svn-bpir='svn-buildpackage -us -uc -rfakeroot -D --svn-noautodch --svn-builder debuild --svn-ignore-new --svn-rm-prev-dir' alias svn-bpr='svn-buildpackage -us -uc -rfakeroot -D --svn-noautodch --svn-builder debuild --svn-rm-prev-dir' alias svn-pbp='svn-buildpackage --svn-noautodch --svn-builder pdebuild'