xref: /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/ExtUtils/MM_DOS.pm (revision 0:68f95e015346)
1*0Sstevel@tonic-gatepackage ExtUtils::MM_DOS;
2*0Sstevel@tonic-gate
3*0Sstevel@tonic-gateuse strict;
4*0Sstevel@tonic-gateuse vars qw($VERSION @ISA);
5*0Sstevel@tonic-gate
6*0Sstevel@tonic-gate$VERSION = 0.02;
7*0Sstevel@tonic-gate
8*0Sstevel@tonic-gaterequire ExtUtils::MM_Any;
9*0Sstevel@tonic-gaterequire ExtUtils::MM_Unix;
10*0Sstevel@tonic-gate@ISA = qw( ExtUtils::MM_Any ExtUtils::MM_Unix );
11*0Sstevel@tonic-gate
12*0Sstevel@tonic-gate
13*0Sstevel@tonic-gate=head1 NAME
14*0Sstevel@tonic-gate
15*0Sstevel@tonic-gateExtUtils::MM_DOS - DOS specific subclass of ExtUtils::MM_Unix
16*0Sstevel@tonic-gate
17*0Sstevel@tonic-gate=head1 SYNOPSIS
18*0Sstevel@tonic-gate
19*0Sstevel@tonic-gate  Don't use this module directly.
20*0Sstevel@tonic-gate  Use ExtUtils::MM and let it choose.
21*0Sstevel@tonic-gate
22*0Sstevel@tonic-gate=head1 DESCRIPTION
23*0Sstevel@tonic-gate
24*0Sstevel@tonic-gateThis is a subclass of ExtUtils::MM_Unix which contains functionality
25*0Sstevel@tonic-gatefor DOS.
26*0Sstevel@tonic-gate
27*0Sstevel@tonic-gateUnless otherwise stated, it works just like ExtUtils::MM_Unix
28*0Sstevel@tonic-gate
29*0Sstevel@tonic-gate=head2 Overridden methods
30*0Sstevel@tonic-gate
31*0Sstevel@tonic-gate=over 4
32*0Sstevel@tonic-gate
33*0Sstevel@tonic-gate=item os_flavor
34*0Sstevel@tonic-gate
35*0Sstevel@tonic-gate=cut
36*0Sstevel@tonic-gate
37*0Sstevel@tonic-gatesub os_flavor {
38*0Sstevel@tonic-gate    return('DOS');
39*0Sstevel@tonic-gate}
40*0Sstevel@tonic-gate
41*0Sstevel@tonic-gate=item B<replace_manpage_separator>
42*0Sstevel@tonic-gate
43*0Sstevel@tonic-gateGenerates Foo__Bar.3 style man page names
44*0Sstevel@tonic-gate
45*0Sstevel@tonic-gate=cut
46*0Sstevel@tonic-gate
47*0Sstevel@tonic-gatesub replace_manpage_separator {
48*0Sstevel@tonic-gate    my($self, $man) = @_;
49*0Sstevel@tonic-gate
50*0Sstevel@tonic-gate    $man =~ s,/+,__,g;
51*0Sstevel@tonic-gate    return $man;
52*0Sstevel@tonic-gate}
53*0Sstevel@tonic-gate
54*0Sstevel@tonic-gate=back
55*0Sstevel@tonic-gate
56*0Sstevel@tonic-gate=head1 AUTHOR
57*0Sstevel@tonic-gate
58*0Sstevel@tonic-gateMichael G Schwern <schwern@pobox.com> with code from ExtUtils::MM_Unix
59*0Sstevel@tonic-gate
60*0Sstevel@tonic-gate=head1 SEE ALSO
61*0Sstevel@tonic-gate
62*0Sstevel@tonic-gateL<ExtUtils::MM_Unix>, L<ExtUtils::MakeMaker>
63*0Sstevel@tonic-gate
64*0Sstevel@tonic-gate=cut
65*0Sstevel@tonic-gate
66*0Sstevel@tonic-gate1;
67