4 unshift @INC, ($::ENV{'BUILD_DIR'} || '/usr/lib/build');
14 if ($ARGV[0] eq '--createmeta')
20 if ($ARGV[0] eq '--manifest')
23 $manifest = shift @ARGV;
31 if ($manifest eq '-') {
35 open(F, '<', $manifest) || die("$manifest: $!\n");
43 for my $file (@files) {
44 my $sig = Build::queryhdrmd5($file);
45 die("$file: no signature available\n") unless $sig;
51 open(F, '>', $mf) || die("$mf: $!\n");
52 print F "$sig sigmd5\n";
53 close(F) || die("$mf: $!\n");