]> mj.ucw.cz Git - libucw.git/commitdiff
Doc. system: export type and name do deflists
authorMichal Vaner <vorner@ucw.cz>
Wed, 10 Sep 2008 18:58:47 +0000 (20:58 +0200)
committerMichal Vaner <vorner@ucw.cz>
Wed, 10 Sep 2008 18:58:47 +0000 (20:58 +0200)
build/doc-defs
build/doc-extract

index a39cda40f626983c2150e26e5fc61bdb871d9791..01cdb8d983065e720ab8339b894e7b92221271cd 100755 (executable)
@@ -18,7 +18,7 @@ $dir =~ s/\/[^\/]+$//;
 
 while( defined( my $line = <> ) ) {
        chomp $line;
-       my( $file, $num, $text ) = split /,/, $line, 3;
+       my( $file, $num, $type, $name, $text ) = split /,/, $line, 5;
        my $dircp = $dir;
        while( shift @{[ $dircp =~ /([^\/]+)/, "//" ]} eq shift @{[ $file =~ /([^\/]+)/, "///" ]} ) {
                $dircp =~ s/[^\/]+\/?//;
index b0c47df5b0f23af8df8e4d90f12a8f5d1e9745b1..85c3ba299e6e99b26f1e6e333a85fc9e7983f2a9 100755 (executable)
@@ -60,7 +60,7 @@ sub formatNote( $$ ) {
        }
        if( $hasdump ) {
                $head =~ s/\n.*//s;
-               print DUMP "$outname,$id,$head\n";
+               print DUMP "$outname,$id,$type,$name,$head\n";
                $id ++;
        }
        print OUT "$comment\n\n";