minor cleanup... all that's left to do is
* make headers and footers for both the POD and SGML content * make an SGML generator * finish the command-line handling Also, some of the documentation in usage.h will have to be adjusted. expr needs some lines to be indented, and ls has a stray comma. I may have missed some things... but it looks OK for the most part.
This commit is contained in:
parent
4a25d8c9c3
commit
8c16bc5012
@ -44,7 +44,7 @@ sub pod_for_usage {
|
|||||||
my $usage = shift;
|
my $usage = shift;
|
||||||
|
|
||||||
my $trivial = $usage->{trivial};
|
my $trivial = $usage->{trivial};
|
||||||
$trivial !~ /^\s/ && $trivial =~s/(?<!\w)(-\w+)/B<$1>/sxg;
|
$trivial =~s/(?<!\w)(-\w+)/B<$1>/sxg;
|
||||||
|
|
||||||
my @full =
|
my @full =
|
||||||
map { $_ !~ /^\s/ && s/(?<!\w)(-\w+)/B<$1>/g; $_ }
|
map { $_ !~ /^\s/ && s/(?<!\w)(-\w+)/B<$1>/g; $_ }
|
||||||
@ -70,8 +70,9 @@ sub sgml_for_usage {
|
|||||||
"FIXME";
|
"FIXME";
|
||||||
}
|
}
|
||||||
|
|
||||||
# the keys are applet names, and the values will contain
|
# the keys are applet names, and
|
||||||
# hashrefs of the form:
|
# the values will contain hashrefs of the form:
|
||||||
|
#
|
||||||
# {
|
# {
|
||||||
# trivial => "...",
|
# trivial => "...",
|
||||||
# full => "...",
|
# full => "...",
|
||||||
@ -100,7 +101,6 @@ if (defined $opt{help}) {
|
|||||||
exit 1;
|
exit 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
|
||||||
# collect documenation into %docs
|
# collect documenation into %docs
|
||||||
foreach (@ARGV) {
|
foreach (@ARGV) {
|
||||||
open(USAGE, $_) || die("$0: $!");
|
open(USAGE, $_) || die("$0: $!");
|
||||||
@ -180,4 +180,4 @@ John BEPPU <beppu@lineo.com>
|
|||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
# $Id: autodocifier.pl,v 1.2 2001/02/23 02:33:28 beppu Exp $
|
# $Id: autodocifier.pl,v 1.3 2001/02/23 02:54:31 beppu Exp $
|
||||||
|
Loading…
x
Reference in New Issue
Block a user