mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-21 17:21:53 +00:00
Description of protocol module moved to where it belongs. If documentation
of standard modules is stored in their source, such auxilliary files should be as well.
This commit is contained in:
parent
ac272c0067
commit
42b3daa09c
2
Doc
2
Doc
@ -1,4 +1,4 @@
|
|||||||
D prog-intro.sgml
|
C doc
|
||||||
C nest
|
C nest
|
||||||
C conf
|
C conf
|
||||||
C filter
|
C filter
|
||||||
|
1
TODO
1
TODO
@ -91,6 +91,7 @@ Martin: DOC: korektury
|
|||||||
OSPF: zkontrolovat defaultni hodnoty metrik
|
OSPF: zkontrolovat defaultni hodnoty metrik
|
||||||
Zinscenovat jeste jeden poradny test OSPF
|
Zinscenovat jeste jeden poradny test OSPF
|
||||||
Zjistit, kde se bude tisknout a vazat dokumentace
|
Zjistit, kde se bude tisknout a vazat dokumentace
|
||||||
|
DOC: Linux 2.2 je ten, kdo podporuje vice routing tables
|
||||||
|
|
||||||
Pavel: RIP: programatorska dokumentace (finish)
|
Pavel: RIP: programatorska dokumentace (finish)
|
||||||
filtry: programatorska dokumentace
|
filtry: programatorska dokumentace
|
||||||
|
2
nest/Doc
2
nest/Doc
@ -2,7 +2,7 @@ H Core
|
|||||||
S rt-fib.c
|
S rt-fib.c
|
||||||
S rt-table.c
|
S rt-table.c
|
||||||
S rt-attr.c
|
S rt-attr.c
|
||||||
D prog-proto.sgml
|
D proto.sgml
|
||||||
S proto.c
|
S proto.c
|
||||||
S proto-hooks.c
|
S proto-hooks.c
|
||||||
S iface.c
|
S iface.c
|
||||||
|
@ -3,15 +3,15 @@
|
|||||||
$srcdir = $ARGV[0];
|
$srcdir = $ARGV[0];
|
||||||
|
|
||||||
open(OUT, ">prog.sgml") || die "Cannot create output file";
|
open(OUT, ">prog.sgml") || die "Cannot create output file";
|
||||||
include("prog-head.sgml");
|
include("doc/prog-head.sgml");
|
||||||
process("");
|
process("");
|
||||||
include("prog-foot.sgml");
|
include("doc/prog-foot.sgml");
|
||||||
close OUT;
|
close OUT;
|
||||||
exit 0;
|
exit 0;
|
||||||
|
|
||||||
sub include {
|
sub include {
|
||||||
my $f = shift @_;
|
my $f = shift @_;
|
||||||
open(IN, "$srcdir/doc/$f") || die "Unable to find $f";
|
open(IN, "$srcdir/$f") || die "Unable to find $f";
|
||||||
while (<IN>) {
|
while (<IN>) {
|
||||||
print OUT;
|
print OUT;
|
||||||
}
|
}
|
||||||
@ -41,7 +41,7 @@ sub process {
|
|||||||
close DOC;
|
close DOC;
|
||||||
} elsif ($cmd eq "D") {
|
} elsif ($cmd eq "D") {
|
||||||
print " $arg\n";
|
print " $arg\n";
|
||||||
include($arg);
|
include("$dir/$arg");
|
||||||
} else { die "Unknown command: $cmd"; }
|
} else { die "Unknown command: $cmd"; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user