/[mdap]/lib/Module/Install/PRIVATE.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /lib/Module/Install/PRIVATE.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 45 - (hide annotations)
Fri Nov 16 14:45:48 2007 UTC (16 years, 5 months ago) by dpavlin
File size: 581 byte(s)
 r52@brr:  dpavlin | 2007-11-16 15:45:44 +0100
 added custom targets to Makefile

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;

  ViewVC Help
Powered by ViewVC 1.1.26