aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/manpages
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2010-07-06 03:22:51 -0500
committerGuido Günther <agx@sigxcpu.org>2010-07-06 17:40:59 +0200
commita650ce3f8be383561fa16039723d75c154574d28 (patch)
tree2eac7ace712641032f00f9ed590acc914509b644 /docs/manpages
parent2acfc8fa4620a214822598849f01cb3fd31320cc (diff)
Add prebuild hook
Can be used to add an upstream changelog generated from the git repository to the build dir. Closes: #587652
Diffstat (limited to 'docs/manpages')
-rw-r--r--docs/manpages/git-buildpackage.sgml12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/manpages/git-buildpackage.sgml b/docs/manpages/git-buildpackage.sgml
index a1eac1f3..3f2ed288 100644
--- a/docs/manpages/git-buildpackage.sgml
+++ b/docs/manpages/git-buildpackage.sgml
@@ -31,6 +31,7 @@
<arg><option>--git-keyid=</option><replaceable>gpg-keyid</replaceable></arg>
<arg><option>--git-posttag=</option><replaceable>command</replaceable></arg>
<arg><option>--git-postbuild=</option><replaceable>command</replaceable></arg>
+ <arg><option>--git-prebuild=</option><replaceable>command</replaceable></arg>
<arg><option>--git-debian-tag=</option><replaceable>tag-format</replaceable></arg>
<arg><option>--git-force-create</option></arg>
<arg><option>--git-no-create-orig</option></arg>
@@ -193,6 +194,17 @@
</listitem>
</varlistentry>
<varlistentry>
+ <term><option>--git-prebuild=</option><replaceable>command</replaceable>
+ </term>
+ <listitem>
+ <para>execute <replaceable>command</replaceable> from the build
+ directory before calling <application>debuild</application>
+ or the application specified via <option>--git-builder</option>.</para>
+ <para>Exported environment variables are:
+ <envar>GBP_GIT_DIR</envar> (the repository the package is being built from),
+ <envar>GBP_BUILD_DIR</envar> (the build dir).
+ </listitem>
+ <varlistentry>
<term><option>--git-debian-tag=</option><replaceable>tag-format</replaceable>
</term>
<listitem>