summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2017-12-01 11:16:56 +0100
committerGuido Günther <agx@sigxcpu.org>2017-12-01 11:16:56 +0100
commit59f82d81c0e11ed4d3d324efbea9b0d35575eff0 (patch)
treec42456d58a97b548069580df8d6857e5a796342f
parent7bb8758730325fc31614bdc68575e0d9c17d1af2 (diff)
docs: gbp-buildpackage: clarify hook working directories
-rw-r--r--docs/manpages/gbp-buildpackage.xml10
1 files changed, 7 insertions, 3 deletions
diff --git a/docs/manpages/gbp-buildpackage.xml b/docs/manpages/gbp-buildpackage.xml
index b96e637d..9b6bcce3 100644
--- a/docs/manpages/gbp-buildpackage.xml
+++ b/docs/manpages/gbp-buildpackage.xml
@@ -465,7 +465,9 @@
<listitem>
<para>
Execute <replaceable>COMMAND</replaceable> after exporting the source
- tree - valid only if --git-export-dir has been specified.
+ tree. Valid only if --git-export-dir has been specified. The working
+ directory of this hook is the toplevel directory of
+ the exported source tree.
</para>
<para>
Exported environment variables are: <envar>GBP_GIT_DIR</envar> (the
@@ -497,7 +499,8 @@
<listitem>
<para>
Execute <replaceable>COMMAND</replaceable> after successful
- build.
+ build. The working directory of this hook is the
+ directory the package was built in.
</para>
<para>
Exported environment variables are: <envar>GBP_CHANGES_FILE</envar>
@@ -512,7 +515,8 @@
<listitem>
<para>
Execute <replaceable>COMMAND</replaceable> after tagging a new
- version.
+ version. The working directory of this hook is the
+ toplevel directory of the &git; repository.
</para>
<para>
Exported environment variables are: <envar>GBP_TAG</envar> (the name