rename git-pbuilder to gbp-pbuilder
authorGuido Günther <agx@sigxcpu.org>
Fri, 20 Feb 2009 11:58:33 +0000 (12:58 +0100)
committerGuido Günther <agx@sigxcpu.org>
Fri, 20 Feb 2009 12:00:33 +0000 (13:00 +0100)
so we don't pollute the git- namespace with our helpers.

docs/chapters/special.sgml
examples/gbp-pbuilder [new file with mode: 0755]
examples/git-pbuilder [deleted file]

index 6454574abe0244d50e1f3cacf5fd612b2cc5673f..8686ce80c63c2d5ab8e994235e3dce5563d0e421 100644 (file)
@@ -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
diff --git a/examples/gbp-pbuilder b/examples/gbp-pbuilder
new file mode 100755 (executable)
index 0000000..bb1798e
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+# 
+# pbuilder helper for git-buildpackage
+# use this as "builder" in gbp.conf
+set -e
+
+# pass all options to dpkg-buildpackage:
+pdebuild $PBUILDER_OPTS --debbuildopts "-i\.git/ -I.git $*"
+
diff --git a/examples/git-pbuilder b/examples/git-pbuilder
deleted file mode 100755 (executable)
index bb1798e..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-# 
-# pbuilder helper for git-buildpackage
-# use this as "builder" in gbp.conf
-set -e
-
-# pass all options to dpkg-buildpackage:
-pdebuild $PBUILDER_OPTS --debbuildopts "-i\.git/ -I.git $*"
-