diff options
author | Guido Günther <agx@sigxcpu.org> | 2011-02-27 15:05:02 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2011-02-27 15:15:50 +0100 |
commit | 3b0f2965073c07a10b32922405c3a67e00677902 (patch) | |
tree | 8b5ebdee3a4ba676a2c8f96382814ce957736446 /docs/chapters | |
parent | a618bdcf4149443d5b68132e96b5a15b52fc3f05 (diff) |
Add script to ignore .pc and tell dpkg-source unpatch the source
See #591858.
Diffstat (limited to 'docs/chapters')
-rw-r--r-- | docs/chapters/building.sgml | 15 |
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> |