]> mj.ucw.cz Git - libucw.git/commitdiff
Doc. system: fix definition duplicities
authorMichal Vaner <vorner@ucw.cz>
Thu, 11 Sep 2008 12:32:10 +0000 (14:32 +0200)
committerMichal Vaner <vorner@ucw.cz>
Thu, 11 Sep 2008 12:33:44 +0000 (14:33 +0200)
They were caused by appending to a deflist instead of overwriting. If
the original file was changed and documentation recompiled, new
definitions were added to the old ones.

build/doc-extract

index e3f052ce346a89d957ff1f840e55e638785a24b8..a5af0e4e35ac52a89e062df3e42f1795f55f8747 100755 (executable)
@@ -18,7 +18,7 @@ if( defined $outname ) {
 }
 my $hasdump;
 if( defined $defdump ) {
-       open DUMP, ">>$defdump" or die "Could not write definition dump $defdump ($!)\n";
+       open DUMP, ">$defdump" or die "Could not write definition dump $defdump ($!)\n";
        $hasdump = 1;
 }