increase build verbosity, re-enable parallel builds
[debian/tar] / debian / tarman
index 74df4ff55c425f10f693f29688314c00e79f8744..10928a356349b8230fa22b6b59a8c6e2d87fe3fc 100644 (file)
@@ -4,9 +4,10 @@
 #
 
 use strict;
+use POSIX qw(strftime);
 
-my $t = "".localtime(time);
-my $datestr = substr($t,4,3)." ".substr($t,8,2).", ".substr($t,20,4);
+my $t = $ENV{'BUILD_DATE'} // strftime("%a, %d %b %Y %H:%M:%S %z", localtime(time));
+my $datestr = substr($t,8,3)." ".substr($t,5,2).", ".substr($t,12,4);
 
 @ARGV=qw(src/tar.c);
 my $mode;
@@ -94,6 +95,15 @@ while (<>) {
                                        $$lastoperation{'description'} .= $c3[1];
                                }
                        }
+                       if (!$nflag && !/\}/) {
+                               while (<>) {
+                                       my @extended_desc = split('"', $_);
+                                       $$lastoperation{'description'} .= $extended_desc[1];
+                                       if (/\}/) {
+                                               last;
+                                       }
+                               }
+                       }
                }
        }
        if ($mode == 3 ) {
@@ -275,7 +285,7 @@ $command_string
 stores and extracts files from a tape or disk archive.
 .Pp
 The first argument to
-.B tar
+tar
 should be a function; either one of the letters
 .Cm $short_letters ,
 or one of the long function names.