From: Michal Vaner Date: Sun, 7 Sep 2008 15:12:33 +0000 (+0200) Subject: Doc. system: dependencies bug X-Git-Tag: holmes-import~333 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=33dfb3b5a2394abd36794f0f3c774fba8876d9a6;p=libucw.git Doc. system: dependencies bug They should be appended, not overwritten, this would trash all previous dependencies --- diff --git a/build/extract-doc.pl b/build/extract-doc.pl index a8314a97..ca4e42e2 100755 --- a/build/extract-doc.pl +++ b/build/extract-doc.pl @@ -138,7 +138,7 @@ while( defined( $line = ) ) { } if( defined $depname ) { - open DEP, ">$depname" or die "Could not write dep file $depname ($!)\n"; + open DEP, ">>$depname" or die "Could not write dep file $depname ($!)\n"; print DEP "$outname:"; print DEP " $_" foreach( @deps ); print DEP "\n";