Release process: sign all *.tar.* under a given dir
[users/jgh/exim.git] / release-process / scripts / mk_exim_release.pl
index 553ea95a9fe8a1e20f12193c005f83051f0b6c6f..24c431ea3d84fe06f43193b82b5d38d75e1f1ad0 100755 (executable)
@@ -1,4 +1,5 @@
 #!/usr/bin/env perl
 #!/usr/bin/env perl
+# Copyright (c) The Exim Maintainers 2016
 
 use strict;
 use warnings;
 
 use strict;
 use warnings;
@@ -219,7 +220,7 @@ sub build_documentation {
       || croak "Doc build failed";
 
     copy_docbook_files($context);
       || croak "Doc build failed";
 
     copy_docbook_files($context);
-    build_html_documentation($context);
+    build_html_documentation($context) if $context->{web};
 }
 
 # ------------------------------------------------------------------
 }
 
 # ------------------------------------------------------------------
@@ -393,6 +394,7 @@ sub create_tar_files {
                 lzip    => 0,
         },
         build_docs   => 1,
                 lzip    => 0,
         },
         build_docs   => 1,
+        web          => 1,
     };
     my $delete;
     my $cleanup = 1;
     };
     my $delete;
     my $cleanup = 1;
@@ -412,6 +414,7 @@ sub create_tar_files {
             'delete!'       => \$delete,
             'cleanup!'      => \$cleanup,
             'build-docs!'   => \$context->{build_docs},
             'delete!'       => \$delete,
             'cleanup!'      => \$cleanup,
             'build-docs!'   => \$context->{build_docs},
+            'web!'          => \$context->{web},
         )
       )
     {
         )
       )
     {
@@ -456,7 +459,7 @@ mk_exim_release.pl [options] version
    --directory=dir     dir to package
    --no-lzip           do not create .tar.lz files
    --delete            Delete packaging directory at start
    --directory=dir     dir to package
    --no-lzip           do not create .tar.lz files
    --delete            Delete packaging directory at start
-   --noweb             skip the website generation
+   --no-web            skip the website generation
 
 =head1 OPTIONS
 
 
 =head1 OPTIONS