aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/chapters
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2009-02-20 12:58:33 +0100
committerGuido Günther <agx@sigxcpu.org>2009-02-20 13:00:33 +0100
commit15042e33a96aac9b7861233bd7d259c375177cbe (patch)
tree1cc301c7eac6c14c5c33192eb38400166770e557 /docs/chapters
parent616bff3c86298863ca73263402373bba38585b21 (diff)
rename git-pbuilder to gbp-pbuilder
so we don't pollute the git- namespace with our helpers.
Diffstat (limited to 'docs/chapters')
-rw-r--r--docs/chapters/special.sgml8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/chapters/special.sgml b/docs/chapters/special.sgml
index 6454574a..8686ce80 100644
--- a/docs/chapters/special.sgml
+++ b/docs/chapters/special.sgml
@@ -82,18 +82,18 @@ cleanup-script.sh
&git-buildpackage; is more convienient:
<programlisting>
-cat &lt;&lt;EOF &gt;/usr/local/bin/git-pbuilder
+cat &lt;&lt;EOF &gt;/usr/local/bin/gbp-pbuilder
#!/bin/sh
# pass commandline arguments to dpkg-buildpackage
<command>pdebuild</command> <option>--debbuildopts</option> "-i\.git -I.git $*"
EOF
-<command>chmod</command> a+x /usr/local/bin/git-pbuilder
+<command>chmod</command> a+x /usr/local/bin/gbp-pbuilder
</programlisting>
This makes the above look like:
<programlisting>
-<command>git-buildpackage</command> <option>--git-builder=git-pbuilder</option> <option>--git-cleaner="fakeroot debian/rules clean"</option>
+<command>git-buildpackage</command> <option>--git-builder=gbp-pbuilder</option> <option>--git-cleaner="fakeroot debian/rules clean"</option>
</programlisting>
We can shorten this further by using <filename>~/.gbp.conf</filename>:
@@ -105,7 +105,7 @@ cat &lt;&lt;EOF &gt; <filename>~/.gbp.conf</filename>
cleaner = fakeroot debian/rules clean
# this is how we invoke pbuilder, arguments passed to git-buildpackage will be
# passed to dpkg-buildpackge in the chroot
-builder = /usr/local/bin/git-pbuilder
+builder = /usr/local/bin/gbp-pbuilder
</programlisting>
Invoking &git-buildpackage; will now invoke &pdebuildcmd; by