diff options
-rw-r--r-- | docs/chapters/special.sgml | 8 | ||||
-rwxr-xr-x | examples/gbp-pbuilder (renamed from examples/git-pbuilder) | 0 |
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/chapters/special.sgml b/docs/chapters/special.sgml index 6454574..8686ce8 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 <<EOF >/usr/local/bin/git-pbuilder +cat <<EOF >/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 <<EOF > <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 diff --git a/examples/git-pbuilder b/examples/gbp-pbuilder index bb1798e..bb1798e 100755 --- a/examples/git-pbuilder +++ b/examples/gbp-pbuilder |