1 |
dpavlin |
45 |
package Module::Install::PRIVATE; |
2 |
|
|
|
3 |
|
|
use strict; |
4 |
|
|
use warnings; |
5 |
|
|
|
6 |
|
|
use base 'Module::Install::Base'; |
7 |
|
|
our $VERSION = '0.01'; |
8 |
|
|
|
9 |
|
|
=head1 NAME |
10 |
|
|
|
11 |
|
|
Module::Install::PRIVATE - Module Install Support |
12 |
|
|
|
13 |
|
|
=head1 SYNOPSIS |
14 |
|
|
|
15 |
|
|
=head1 DESCRIPTION |
16 |
|
|
|
17 |
|
|
=head2 my_targets |
18 |
|
|
|
19 |
|
|
=cut |
20 |
|
|
|
21 |
|
|
sub my_targets { |
22 |
|
|
my ($self) = @_; |
23 |
|
|
|
24 |
|
|
$self->postamble(<<"END_MAKEFILE"); |
25 |
|
|
# --- $self section: |
26 |
|
|
|
27 |
|
|
dump: all |
28 |
|
|
./mdap-server.pl -d 2>&1 | tee log |
29 |
|
|
|
30 |
|
|
html: \$(MAN1PODS) \$(MAN3PODS) |
31 |
|
|
test -d html || mkdir html |
32 |
|
|
allpod2xhtml.pl --frames="Perl CWMP server" lib/ html/ |
33 |
|
|
|
34 |
|
|
END_MAKEFILE |
35 |
|
|
|
36 |
|
|
warn "added my targets: dump, html\n"; |
37 |
|
|
|
38 |
|
|
return $self; |
39 |
|
|
} |
40 |
|
|
|
41 |
|
|
1; |