[exim-cvs] Unbreak HTML build for RC candidates.

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Exim Git Commits Mailing List
日付:  
To: exim-cvs
題目: [exim-cvs] Unbreak HTML build for RC candidates.
Gitweb: http://git.exim.org/exim.git/commitdiff/39d16d738122fd008efb87326058dd34cfa6ff1e
Commit:     39d16d738122fd008efb87326058dd34cfa6ff1e
Parent:     9bdd29ad5c5d394229753b114f6f288893f616f4
Author:     Phil Pennock <pdp@???>
AuthorDate: Thu Oct 3 14:50:09 2013 -0400
Committer:  Phil Pennock <pdp@???>
CommitDate: Thu Oct 3 14:50:09 2013 -0400


    Unbreak HTML build for RC candidates.


    The HTML build now uses the website repo, which extracts the version
    number from the XML (generated from the .xfpt).  Meanwhile, commit
    2aee48d6 made the version number in the build process dynamic, taking
    the value from the release script (via an environ variable).


    This change fixes the invocation to pass the version _without_ an RC
    suffix to the XML build, letting HTML generation happen.
---
 release-process/scripts/mk_exim_release.pl |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/release-process/scripts/mk_exim_release.pl b/release-process/scripts/mk_exim_release.pl
index d29770d..395cdd2 100755
--- a/release-process/scripts/mk_exim_release.pl
+++ b/release-process/scripts/mk_exim_release.pl
@@ -191,7 +191,8 @@ sub build_documentation {
     my $context = shift;


     my $docdir = File::Spec->catdir( $context->{release_tree}, 'doc', 'doc-docbook' );
-    system("cd '$docdir' && ./OS-Fixups && make EXIM_VER=$context->{release} everything") == 0
+    # documentation building gets the truncated release, without RC
+    system("cd '$docdir' && ./OS-Fixups && make EXIM_VER=$context->{trelease} everything") == 0
       || croak "Doc build failed";


     copy_docbook_files($context);