Fix some doc generation problems

This commit is contained in:
Eric Andersen 2004-03-13 08:32:14 +00:00
parent ed43806c3b
commit 55c704c119
2 changed files with 24 additions and 21 deletions

View File

@ -42,6 +42,13 @@ sub pod_for_usage {
my $name = shift;
my $usage = shift;
# Sigh. Fixup the known odd-name applets.
$name =~ s/dpkg_deb/dpkg-deb/g;
$name =~ s/fsck_minix/fsck.minix/g;
$name =~ s/mkfs_minix/mkfs.minix/g;
$name =~ s/run_parts/run-parts/g;
$name =~ s/start_stop_daemon/start-stop-daemon/g;
# make options bold
my $trivial = $usage->{trivial};
$trivial =~ s/(?<!\w)(-\w+)/B<$1>/sxg;
@ -78,13 +85,10 @@ sub pod_for_usage {
return
"=item B<$name>".
"\n\n" .
"$name $trivial".
"\n\n" .
$full .
"\n\n" .
$notes .
$example.
"\n\n$name $trivial\n\n".
"$full\n\n" .
"$notes" .
"$example" .
"-------------------------------".
"\n\n"
;
@ -288,4 +292,4 @@ John BEPPU <b@ax9.org>
=cut
# $Id: autodocifier.pl,v 1.24 2003/07/14 21:20:48 andersen Exp $
# $Id: autodocifier.pl,v 1.25 2004/03/13 08:32:14 andersen Exp $

View File

@ -64,8 +64,7 @@ Randolph Chung <tausq@debian.org>
Dave Cinege <dcinege@psychosis.com>
more(v2), makedevs, dutmp, modularization, auto links file,
various fixes, Linux Router Project maintenance
more(v2), makedevs, modularization, various fixes
=for html <br>
@ -174,4 +173,4 @@ Glenn Engel <glenne@engel.org>
=cut
# $Id: busybox_footer.pod,v 1.12 2003/07/14 21:20:48 andersen Exp $
# $Id: busybox_footer.pod,v 1.13 2004/03/13 08:32:14 andersen Exp $