Quiet signedness compiler warnings.
[exim.git] / release-process / scripts / mk_exim_release.pl
index 46d63e516ecc75758620319248254dac10441bed..d29770d2745d7d7c0e70c58e2ff60da0a6b39bc7 100755 (executable)
@@ -146,8 +146,11 @@ sub build_html_documentation {
 
     mkdir($dir);
 
-    my @cmd =
-      ( $genpath, '--spec', $spec, '--filter', $filter, '--latest', $context->{trelease}, '--tmpl', $templates, '--docroot', $dir );
+    my @cmd = (
+        $genpath,   '--spec',    $spec,                '--filter',
+        $filter,    '--latest',  $context->{trelease}, '--tmpl',
+        $templates, '--docroot', $dir,                 '--localstatic'
+    );
 
     print "Executing ", join( ' ', @cmd ), "\n";
     system(@cmd);
@@ -188,7 +191,7 @@ sub build_documentation {
     my $context = shift;
 
     my $docdir = File::Spec->catdir( $context->{release_tree}, 'doc', 'doc-docbook' );
-    system("cd '$docdir' && ./OS-Fixups && make everything") == 0
+    system("cd '$docdir' && ./OS-Fixups && make EXIM_VER=$context->{release} everything") == 0
       || croak "Doc build failed";
 
     copy_docbook_files($context);
@@ -357,7 +360,7 @@ sub create_tar_files {
         compressors => {
                 gzip    => 1,
                 bzip2   => 1,
-                lzip    => 1,
+                lzip    => 0,
         },
     };
     my $delete;
@@ -435,9 +438,9 @@ Use to override the path to the tar command; without this, will search for
 gtar, and if not found use tar.  Need GNU tar for lzip, unless --no-lzip is
 used.
 
-=item B<--no-lzip>
+=item B<--lzip>
 
-Do not build the lzip tarballs.
+Build the lzip tarballs.
 
 =item B<--verbose>