blob: e69cbf73a3e84fe3b2fa2a14c8076f3b6d55cf10 [file] [log] [blame]
#!/usr/bin/perl -w
open BUILDDEPS, "debian/build-deps";
@builddeplist = <BUILDDEPS>;
close BUILDDEPS;
chomp(@builddeplist);
@builddeplist = grep(!/^$/, @builddeplist);
$builddeps = join(", ", @builddeplist);
open CONTROLIN, "debian/control.in";
while(<CONTROLIN>){
s/BUILDDEPS/$builddeps/;
print;
}