of standard modules is stored in their source, such auxilliary files
should be as well.
-D prog-intro.sgml
+C doc
C nest
C conf
C filter
OSPF: zkontrolovat defaultni hodnoty metrik
Zinscenovat jeste jeden poradny test OSPF
Zjistit, kde se bude tisknout a vazat dokumentace
+ DOC: Linux 2.2 je ten, kdo podporuje vice routing tables
Pavel: RIP: programatorska dokumentace (finish)
filtry: programatorska dokumentace
--- /dev/null
+D prog-intro.sgml
S rt-fib.c
S rt-table.c
S rt-attr.c
-D prog-proto.sgml
+D proto.sgml
S proto.c
S proto-hooks.c
S iface.c
$srcdir = $ARGV[0];
open(OUT, ">prog.sgml") || die "Cannot create output file";
-include("prog-head.sgml");
+include("doc/prog-head.sgml");
process("");
-include("prog-foot.sgml");
+include("doc/prog-foot.sgml");
close OUT;
exit 0;
sub include {
my $f = shift @_;
- open(IN, "$srcdir/doc/$f") || die "Unable to find $f";
+ open(IN, "$srcdir/$f") || die "Unable to find $f";
while (<IN>) {
print OUT;
}
close DOC;
} elsif ($cmd eq "D") {
print " $arg\n";
- include($arg);
+ include("$dir/$arg");
} else { die "Unknown command: $cmd"; }
}
}