mk_exim_release: tidy
[users/heiko/exim.git] / release-process / scripts / mk_exim_release
index ecc77018cfc8f64500f487daab37f490609f5a4e..dd443aee09738e8a7ee573791a895c31a16e2835 100755 (executable)
@@ -263,7 +263,6 @@ __
         }
 
         $context->copy_docbook_files;
-        $context->build_html_documentation if $context->{web};
     }
 
     sub copy_docbook_files {
@@ -564,6 +563,7 @@ MAIN: {
     $context->unpack_tree;
     $context->make_version_script;
     $context->build_documentation if $context->{docs};
+    $context->build_html_documentation if $context->{docs} && $context->{web};
 
     $context->build_src_package_directory;
     $context->build_doc_packages_directory if $context->{docs};