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