From a650ce3f8be383561fa16039723d75c154574d28 Mon Sep 17 00:00:00 2001 From: Jonathan Nieder Date: Tue, 6 Jul 2010 03:22:51 -0500 Subject: Add prebuild hook Can be used to add an upstream changelog generated from the git repository to the build dir. Closes: #587652 --- docs/chapters/building.sgml | 3 ++- docs/manpages/git-buildpackage.sgml | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/chapters/building.sgml b/docs/chapters/building.sgml index 2205940d..f68e3780 100644 --- a/docs/chapters/building.sgml +++ b/docs/chapters/building.sgml @@ -78,7 +78,8 @@ export-dir=../build-area Besides the commands for cleaning the package build dir ( and building the package () you can also invoke hooks during the package - build: after a succesful build () and after + build: immediately before a build (, + after a succesful build () and after creating a tag (). Typical applications are running lintian or pushing changes into a remote repository. 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 @@ gpg-keyid command command + command tag-format @@ -192,6 +193,17 @@ file), GBP_BUILD_DIR (the build dir). + + command + + + execute command from the build + directory before calling debuild + or the application specified via . + Exported environment variables are: + GBP_GIT_DIR (the repository the package is being built from), + GBP_BUILD_DIR (the build dir). + tag-format -- cgit v1.2.3