aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/chapters/building.sgml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/chapters/building.sgml')
-rw-r--r--docs/chapters/building.sgml15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/chapters/building.sgml b/docs/chapters/building.sgml
index f68e3780..97a9932b 100644
--- a/docs/chapters/building.sgml
+++ b/docs/chapters/building.sgml
@@ -152,4 +152,19 @@ echo "done."
</para>
</sect2>
</sect1>
+ <sect1 id="gbp.building.patch">
+ <title>Working with patches</title>
+ <para>
+ You can use &gbp-pq; to handle patches. See
+ <ulink url="https://honk.sigxcpu.org/piki/development/debian_packages_in_git/"></ulink>
+ for an example workflow.
+ </para>
+ <para>
+ In order to avoid a patched (unclean) source tree after the build you
+ can use &dpkg-source;'s <option>unapply-patches</option> option and
+ tell &git; to ignore the <filename>.pc</filename> directory.
+ <filename>/usr/share/doc/examples/git-buildpackage/examples/gbp-config-unpatched-source</filename>
+ sets up these two files for you.
+ </para>
+ </sect1>
</chapter>