[buildd-tools-devel] [PATCH] debian/rules runs ./bootstrap when needed

Roger Leigh rleigh at codelibre.net
Wed Jan 25 12:45:49 UTC 2012


On Wed, Jan 25, 2012 at 11:22:30AM +0100, Max Thoursie wrote:
> To make it possible to build a debian package directly form a clean
> checkout, debian/rules now run ./bootstrap if ./configure is missing.
> 
> To allow bootstrap to run, I had to add git, autoconf and automake to
> the build dependencies.

Adding this to debian/rules as a convenience for people building from
the git repo is fine.  However, adding these dependencies to the
Build-Depends is not.  It's important to distinguish between genuine
dependencies needed during a package build, and tools only needed
for upstream bootstrapping.  The packages needed for autobuilding
are those needed after running "make dist" to make a release
tarball.  Everything prior to that is separate.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.



More information about the Buildd-tools-devel mailing list