[pbuilder] 01/01: pbuilder.8: document the PBUILDER_OPERATION and BUILDDIR env var available to hooks. Closes: #805014

Mattia Rizzolo mattia at debian.org
Mon Apr 4 18:24:28 UTC 2016


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch master
in repository pbuilder.

commit ec8f9bb33e3f1ddc80567d00b2741024ac4c8fef
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Mon Apr 4 18:14:45 2016 +0000

    pbuilder.8: document the PBUILDER_OPERATION and BUILDDIR env var available to hooks.  Closes: #805014
---
 pbuilder.8 | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/pbuilder.8 b/pbuilder.8
index a5d43ce..a76ffc3 100644
--- a/pbuilder.8
+++ b/pbuilder.8
@@ -362,6 +362,18 @@ before anything starts using it.
 is executed after build system finishes building, successfully, after copying
 back the build results.
 
+In your hook the following environment variables are available:
+.RS 8
+.I BUILDDIR
+the place where the build happens, the sources are inside a directory named
+.B <package>-<version>.
+.RE
+.RS 8
+.I PBUILDER_OPERATION
+a string indicating which of the pbuilder command has been called.  Possible
+values are \fBbuild\fR, \fBclean\fR, \fBcreate\fR, \fBdebuild\fR,
+\fBdumpconfig\fR, \fBexecute\fR, \fBlogin\fR, \fBupdate\fR.
+.RE
 \" End of hookdir description
 
 .TP

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pbuilder/pbuilder.git



More information about the Pbuilder-maint mailing list