Parent Directory | Revision Log
create custom targets in makefile (debug is first one)
1 | dpavlin | 116 | # 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 | debug: | ||
29 | ./bin/acs.pl -d -d -d 2>&1 | tee log | ||
30 | |||
31 | END_MAKEFILE | ||
32 | |||
33 | warn "added my targets\n"; | ||
34 | |||
35 | return $self; | ||
36 | } | ||
37 | |||
38 | 1; |
ViewVC Help | |
Powered by ViewVC 1.1.26 |