~ubuntu-branches/debian/squeeze/bzr-builddeb/squeeze

« back to all changes in this revision

Viewing changes to doc/user_manual/building.rst

  • Committer: Bazaar Package Importer
  • Author(s): Jelmer Vernooij
  • Date: 2010-01-18 19:15:26 UTC
  • mfrom: (5.1.5 karmic)
  • Revision ID: james.westby@ubuntu.com-20100118191526-fzyw0n60z6vrhhhn
Tags: 2.2
* Upload to unstable.
* Bump standards version to 3.8.3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
will do the same thing.
18
18
 
19
 
By default it uses ``dpkg-buildpackage -uc -us -rfakeroot`` to build the
20
 
package. If you would prefer to use something else then you can use the
21
 
``--builder`` option to control this. For instance to build in a pbuilder
22
 
chroot you can run
 
19
By default it uses ``debuild`` to build the package. If you would prefer
 
20
to use something else then you can use the ``--builder`` option to control
 
21
this. For instance to build in a pbuilder chroot you can run
23
22
 
24
23
::
25
24
 
31
30
 
32
31
.. _Configuration Files: configuration.html
33
32
 
 
33
If you wish to pass extra options to the builder, such as ``-v`` then you
 
34
can do it by specifying them after ``--`` on the command line, e.g.
 
35
 
 
36
::
 
37
 
 
38
  $ bzr builddeb -- -v0.1-1
 
39
 
 
40
At this point you should specify the ``-S`` option before the ``--`` so that
 
41
the tool knows that you are building a source package.
 
42
 
34
43
If you have a slow builder defined in your configuration (see `Configuration
35
44
Files`_) then you may want to bypass this sometimes. If you are trying to
36
45
quickly test changes to a package you might just want a quick build. It