> the gbp doc (gbp.building.html) talks about the --export-dir option.
> In the current gbp there is only a --git-export-dir option.
> So I guess the documentation is outdated and should adapted.

Also the --export option in this section should be actually --git-export. The 
attached patch fixes this for docs/chapters/building.sgml.

Grüße,
Frank
-- 
"Die beiden Männer sonnten sich in dem herrlichen Gefühl, weitaus
weniger zu wissen als gewöhnliche Leute, die nur von gewöhnlichen
Dingen nichts wußten."
                   -- Terry Pratchett in "Das Erbe des Zauberers"
From 69ad7c5677fdb8bb9067e9990ee9e743685a0e1a Mon Sep 17 00:00:00 2001
From: Frank S. Thomas <[EMAIL PROTECTED]>
Date: Sat, 15 Dec 2007 00:50:51 +0100
Subject: [PATCH] --export-dir and --export are actually --git-export-dir and --git-export

---
 docs/chapters/building.sgml |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/docs/chapters/building.sgml b/docs/chapters/building.sgml
index 4fb85fb..eb569b6 100644
--- a/docs/chapters/building.sgml
+++ b/docs/chapters/building.sgml
@@ -28,20 +28,20 @@
     <sect1 id="gbp.building.export">
     <title>Using a separate build dir</title>
     <para>Tools like &svn-buildpackage; use a separate build-area. To achieve a similar behaviour
-    with &git-buildpackage; use the <option>--export-dir</option> option:</para>
+    with &git-buildpackage; use the <option>--git-export-dir</option> option:</para>
 <screen>
-&git-buildpackage; <option>--export-dir</option>=<replaceable>../build-area/</replaceable>
+&git-buildpackage; <option>--git-export-dir</option>=<replaceable>../build-area/</replaceable>
 </screen>
     <para>This will export the current branch head to
     <replaceable>../build-area/package-version</replaceable>, check out the corresponding
     upstream tree to build the .orig.tar.gz  if necessary and build the
     package. If you don't want to export the current branch head you can use
-    <option>--export</option> to export any treeish object, here are some
+    <option>--git-export</option> to export any treeish object, here are some
     examples:</para>
 <screen>
-&git-buildpackage; <option>--export-dir</option>=<replaceable>../build-area</replaceable> <option>--export</option>=<replaceable>debian/0.4.3</replaceable>
-&git-buildpackage; <option>--export-dir</option>=<replaceable>../build-area</replaceable> <option>--export</option>=<replaceable>etch</replaceable>
-&git-buildpackage; <option>--export-dir</option>=<replaceable>../build-area</replaceable> <option>--export</option>=<replaceable>8caed309653d69b7ab440e3d35abc090eb4c6697</replaceable>
+&git-buildpackage; <option>--git-export-dir</option>=<replaceable>../build-area</replaceable> <option>--git-export</option>=<replaceable>debian/0.4.3</replaceable>
+&git-buildpackage; <option>--git-export-dir</option>=<replaceable>../build-area</replaceable> <option>--git-export</option>=<replaceable>etch</replaceable>
+&git-buildpackage; <option>--git-export-dir</option>=<replaceable>../build-area</replaceable> <option>--git-export</option>=<replaceable>8caed309653d69b7ab440e3d35abc090eb4c6697</replaceable>
 </screen>
     <para>If you want to default to build in a separate build area you can
     specify the directory to use in the gbp.conf.
-- 
1.5.3.7

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to