mk_exim_release: add --no-sizes option
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Wed, 20 Feb 2019 14:50:40 +0000 (15:50 +0100)
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Wed, 20 Feb 2019 15:47:17 +0000 (16:47 +0100)
release-process/scripts/mk_exim_release

index 84d26e77705bab9d5112b60cf89982250f262958..af41ead01c80025cdc417dca97895a8345858da3 100755 (executable)
@@ -545,6 +545,7 @@ MAIN: {
                 group   => '0',
         },
         make_cmd    => 'make',  # for 'make'ing the docs
+        sizes       => 1,
         compressors => {
                 gzip    => 1,
                 bzip2   => 1,
@@ -574,7 +575,7 @@ MAIN: {
     GetOptions(
         $context,
         qw(workspace|tmp=s website_base|webgen_base=s tar_cmd|tar-cmd=s make_cmd|make-cmd=s
-           docs|build-docs! web|build-web!
+           docs|build-docs! web|build-web! sizes!
            delete! cleanup! quick|quick-release! minimal),
         'sign!'         => \$context->{gpg}{sign},
         'key=s'         => \$context->{gpg}{key},
@@ -735,6 +736,10 @@ website creation (which can be enabled by B<--web> again).
 
 Sign the created archive files (and the sizes.txt). (default: sign)
 
+=item B<--[no]sizes>
+
+Write the sizes information to F<sizes.txt>. (default: write sizes)
+
 =item B<--tar-cmd> I<cmd>
 
 Use to override the path to the C<tar> command.  Need GNU tar in case