summaryrefslogtreecommitdiff
path: root/docs/chapters/building.sgml
diff options
context:
space:
mode:
authorGuido Guenther <agx@sigxcpu.org>2006-12-29 14:52:32 +0100
committerGuido Guenther <agx@bogon.sigxcpu.org>2006-12-29 14:52:32 +0100
commit8c7ae364d19ce0abff329360077835eb3e4a4b32 (patch)
tree26fea4dde9daae939a94cef5dfd1b820a80aecb0 /docs/chapters/building.sgml
parent8385e4c6557e0e3be5e77335bc474c6d144042a8 (diff)
documentation updates
Diffstat (limited to 'docs/chapters/building.sgml')
-rw-r--r--docs/chapters/building.sgml21
1 files changed, 19 insertions, 2 deletions
diff --git a/docs/chapters/building.sgml b/docs/chapters/building.sgml
index 6cba1ae..1396923 100644
--- a/docs/chapters/building.sgml
+++ b/docs/chapters/building.sgml
@@ -1,4 +1,21 @@
<chapter id="gbp.building">
- <title>Building Packages from the &git; repository</title>
- <para>TBD</para>
+ <title>Building packages from the &git; repository</title>
+ <para>
+ In order to build a &debian; package from the &git; repository you use:
+ &git-buildpackage;. During the development phase (when you're either not
+ on the <emphasis>master</emphasis>-branch or when you have uncommitted
+ changes in your repository) you'll usually use:
+<screen>
+&git-buildpackage; <option>--git-ignore-new</option>
+</screen>
+ Once you're satisfied with the build and want to do a relese you commit all
+ you changes and issue:
+<screen>
+&git-buildpackage; <option>--git-tag</option>
+</screen>
+ This will again build the debian package and tag the final result after
+ extracting the current version from the changelog. If you want &gpg; signed
+ tags you can use the <option>--git-sign</option> and
+ <option>--git-keyid</option> options.
+ </para>
</chapter>