From 523c5d9f2b2348d2859264879d46d72e4aad4c35 Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Wed, 19 Dec 2018 16:29:20 +0100 Subject: [PATCH] Doc: Rename code documentation files back to Doc --- client/{progdoc => Doc} | 0 conf/{progdoc => Doc} | 0 filter/{progdoc => Doc} | 0 lib/{progdoc => Doc} | 0 nest/{progdoc => Doc} | 0 proto/{progdoc => Doc} | 0 proto/babel/{progdoc => Doc} | 0 proto/bfd/{progdoc => Doc} | 0 proto/bgp/{progdoc => Doc} | 0 proto/mrt/{progdoc => Doc} | 0 proto/ospf/{progdoc => Doc} | 0 proto/pipe/{progdoc => Doc} | 0 proto/radv/{progdoc => Doc} | 0 proto/rip/{progdoc => Doc} | 0 proto/static/{progdoc => Doc} | 0 sysdep/{progdoc => Doc} | 0 sysdep/unix/{progdoc => Doc} | 0 tools/progdoc | 2 +- 18 files changed, 1 insertion(+), 1 deletion(-) rename client/{progdoc => Doc} (100%) rename conf/{progdoc => Doc} (100%) rename filter/{progdoc => Doc} (100%) rename lib/{progdoc => Doc} (100%) rename nest/{progdoc => Doc} (100%) rename proto/{progdoc => Doc} (100%) rename proto/babel/{progdoc => Doc} (100%) rename proto/bfd/{progdoc => Doc} (100%) rename proto/bgp/{progdoc => Doc} (100%) rename proto/mrt/{progdoc => Doc} (100%) rename proto/ospf/{progdoc => Doc} (100%) rename proto/pipe/{progdoc => Doc} (100%) rename proto/radv/{progdoc => Doc} (100%) rename proto/rip/{progdoc => Doc} (100%) rename proto/static/{progdoc => Doc} (100%) rename sysdep/{progdoc => Doc} (100%) rename sysdep/unix/{progdoc => Doc} (100%) diff --git a/client/progdoc b/client/Doc similarity index 100% rename from client/progdoc rename to client/Doc diff --git a/conf/progdoc b/conf/Doc similarity index 100% rename from conf/progdoc rename to conf/Doc diff --git a/filter/progdoc b/filter/Doc similarity index 100% rename from filter/progdoc rename to filter/Doc diff --git a/lib/progdoc b/lib/Doc similarity index 100% rename from lib/progdoc rename to lib/Doc diff --git a/nest/progdoc b/nest/Doc similarity index 100% rename from nest/progdoc rename to nest/Doc diff --git a/proto/progdoc b/proto/Doc similarity index 100% rename from proto/progdoc rename to proto/Doc diff --git a/proto/babel/progdoc b/proto/babel/Doc similarity index 100% rename from proto/babel/progdoc rename to proto/babel/Doc diff --git a/proto/bfd/progdoc b/proto/bfd/Doc similarity index 100% rename from proto/bfd/progdoc rename to proto/bfd/Doc diff --git a/proto/bgp/progdoc b/proto/bgp/Doc similarity index 100% rename from proto/bgp/progdoc rename to proto/bgp/Doc diff --git a/proto/mrt/progdoc b/proto/mrt/Doc similarity index 100% rename from proto/mrt/progdoc rename to proto/mrt/Doc diff --git a/proto/ospf/progdoc b/proto/ospf/Doc similarity index 100% rename from proto/ospf/progdoc rename to proto/ospf/Doc diff --git a/proto/pipe/progdoc b/proto/pipe/Doc similarity index 100% rename from proto/pipe/progdoc rename to proto/pipe/Doc diff --git a/proto/radv/progdoc b/proto/radv/Doc similarity index 100% rename from proto/radv/progdoc rename to proto/radv/Doc diff --git a/proto/rip/progdoc b/proto/rip/Doc similarity index 100% rename from proto/rip/progdoc rename to proto/rip/Doc diff --git a/proto/static/progdoc b/proto/static/Doc similarity index 100% rename from proto/static/progdoc rename to proto/static/Doc diff --git a/sysdep/progdoc b/sysdep/Doc similarity index 100% rename from sysdep/progdoc rename to sysdep/Doc diff --git a/sysdep/unix/progdoc b/sysdep/unix/Doc similarity index 100% rename from sysdep/unix/progdoc rename to sysdep/unix/Doc diff --git a/tools/progdoc b/tools/progdoc index d7ea989e..4e967219 100755 --- a/tools/progdoc +++ b/tools/progdoc @@ -29,7 +29,7 @@ sub process { /^([A-Z]+)\s*(.*)/ || die "Parse error: $_"; $cmd = $1; $arg = $2; - if ($cmd eq "C") { process("$dir/$arg", "progdoc"); } + if ($cmd eq "C") { process("$dir/$arg", "Doc"); } elsif ($cmd eq "H") { push @stack, "H"; print OUT "$arg\n";