From 59f82d81c0e11ed4d3d324efbea9b0d35575eff0 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Fri, 1 Dec 2017 11:16:56 +0100 Subject: docs: gbp-buildpackage: clarify hook working directories --- docs/manpages/gbp-buildpackage.xml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'docs') 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 @@ Execute COMMAND 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. Exported environment variables are: GBP_GIT_DIR (the @@ -497,7 +499,8 @@ Execute COMMAND after successful - build. + build. The working directory of this hook is the + directory the package was built in. Exported environment variables are: GBP_CHANGES_FILE @@ -512,7 +515,8 @@ Execute COMMAND after tagging a new - version. + version. The working directory of this hook is the + toplevel directory of the &git; repository. Exported environment variables are: GBP_TAG (the name -- cgit v1.2.3