]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Description of protocol module moved to where it belongs. If documentation
authorMartin Mares <mj@ucw.cz>
Mon, 5 Jun 2000 09:51:24 +0000 (09:51 +0000)
committerMartin Mares <mj@ucw.cz>
Mon, 5 Jun 2000 09:51:24 +0000 (09:51 +0000)
of standard modules is stored in their source, such auxilliary files
should be as well.

Doc
TODO
doc/Doc [new file with mode: 0644]
nest/Doc
nest/proto.sgml [moved from doc/prog-proto.sgml with 100% similarity]
tools/progdoc

diff --git a/Doc b/Doc
index 57eeb78ffc680a7c21df1b18be4b6b59d2782435..f5f15087efd7d6925170fce51e5e7851e0636ceb 100644 (file)
--- a/Doc
+++ b/Doc
@@ -1,4 +1,4 @@
-D prog-intro.sgml
+C doc
 C nest
 C conf
 C filter
diff --git a/TODO b/TODO
index 08ec2156fc884c7ce74060866132d597d86d4f06..2226d0b81735e94d87f3d4df5844ca741d795835 100644 (file)
--- a/TODO
+++ b/TODO
@@ -91,6 +91,7 @@ Martin:       DOC: korektury
        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
diff --git a/doc/Doc b/doc/Doc
new file mode 100644 (file)
index 0000000..0c3e04e
--- /dev/null
+++ b/doc/Doc
@@ -0,0 +1 @@
+D prog-intro.sgml
index 7395e75c9cc916c4a76d2946fa7772b642912946..8cb731022afbb4e75ac260f0c89512acc0d8346a 100644 (file)
--- a/nest/Doc
+++ b/nest/Doc
@@ -2,7 +2,7 @@ H Core
 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
similarity index 100%
rename from doc/prog-proto.sgml
rename to nest/proto.sgml
index a5028bdacc5541272962d4660707c234ea2c3c74..ef44d3aa24fb120bacab620acf6b5cfb5a8846a0 100755 (executable)
@@ -3,15 +3,15 @@
 $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;
   }
@@ -41,7 +41,7 @@ sub process {
       close DOC;
     } elsif ($cmd eq "D") {
       print "    $arg\n";
-      include($arg);
+      include("$dir/$arg");
     } else { die "Unknown command: $cmd"; }
   }
 }