[pbuilder] 01/01: pbuilderrc.5: actually document the PBUILDER_OPERATION env variable
Mattia Rizzolo
mattia at debian.org
Thu Apr 28 13:24:48 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 ab9ae170d9333232bcb1147ddf6287b178b66f81
Author: Mattia Rizzolo <mattia at debian.org>
Date: Thu Apr 28 13:24:35 2016 +0000
pbuilderrc.5: actually document the PBUILDER_OPERATION env variable
Closes: #805014
---
debian/changelog | 1 +
pbuilderrc.5 | 8 ++++++++
2 files changed, 9 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index c6c45c9..e75b522 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -26,6 +26,7 @@ pbuilder (0.223+unreleased) UNRELEASED; urgency=medium
* pdebuild:
+ define PBUILDER_OPERATION=pdebuild here too.
* pbuilderrc.5:
+ + document the availability of PBUILDER_OPERATION. Closes: #805014
+ use https for the documentation URL.
* buildpackage:
+ override the Maintainer field when doing binNMUs. Closes: #813589
diff --git a/pbuilderrc.5 b/pbuilderrc.5
index 8a9db6a..8d1aa2c 100644
--- a/pbuilderrc.5
+++ b/pbuilderrc.5
@@ -9,6 +9,14 @@ program invocation.
.PP
The file itself is sourced by a shell script, so
it is required that the file conforms to shell script conventions.
+.PP
+The environment variable
+.I PBUILDER_OPERATION
+contains the current operation mode of pbuilder, and can be used to do a
+conditional configuration.
+Possible values are \fBbuild\fR, \fBclean\fR, \fBcreate\fR, \fBdebuild\fR,
+\fBdumpconfig\fR, \fBexecute\fR, \fBlogin\fR, \fBupdate\fR.
+
.SH "FORMAT"
.TP
.BI "APTCACHE=" "/var/cache/pbuilder/aptcache"
--
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