/usr/bin/pod2projdocs is in libpod-projectdocs-perl 0.50-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | #!/usr/bin/perl -w
use strict;
use warnings;
our $VERSION = '0.50'; # VERSION
use Getopt::Long;
use Pod::Usage;
use Pod::ProjectDocs;
my (
$out, $lib, $title, $lang, $desc,
$index, $verbose, $forcegen, $nosourcecode, $except
);
my $help = @ARGV == 0;
my %opt = (
'help|?' => \$help,
'out|o=s' => \$out,
'lib|l=s@' => \$lib,
'except|e=s@' => \$except,
'title|t=s' => \$title,
'desc|d=s' => \$desc,
'index!' => \$index,
'verbose|v' => \$verbose,
'forcegen!' => \$forcegen,
'nosourcecode!' => \$nosourcecode,
'lang=s' => \$lang,
);
GetOptions(%opt);
pod2usage(1) if $help;
my $p = Pod::ProjectDocs->new(
outroot => $out,
libroot => $lib,
except => $except,
title => $title,
desc => $desc,
index => $index,
verbose => $verbose,
forcegen => $forcegen,
nosourcecode => $nosourcecode,
lang => $lang,
);
$p->gen();
=head1 NAME
pod2projdocs - generates CPAN like project documents from pod.
=head1 SYNOPSIS
pod2projdocs [options]
Options:
-help display this help and exist
-out directory path that you want to generate documents into
-lib your project's library-root-directory path
-title your project's title
-desc your project's description
-noindex don't create index for all generated pages
-forcegen generate documents each time, ignoring last modified timestamp
-lang set this language as xml:lang (default 'en')
-except the files matches this regex won't be parsed
You can set each option with their first character,
for example, you can write -o instead of -out.
And you can generate documents from multiple library directories.
pod2projdocs -o /path/to/outputdir -l /path/to/lib1 -l /path/to/lib2
=head1 DESCRIPTION
generates CPAN like project documents from pod.
=head1 SEE ALSO
L<Pod::ProjectDocs>
=head1 AUTHOR
Lyo Kato E<lt>lyo.kato@gmail.comE<gt>
=head1 COPYRIGHT AND LICENSE
Copyright 2005 Lyo Kato. All rights reserved.
This library is free software. You can redistribute it and/or modify it under
the same terms as perl itself.
=cut
|