create custom targets in makefile (debug is first one)
[perl-cwmp.git] / lib / Module / Install / PRIVATE.pm
diff --git a/lib/Module/Install/PRIVATE.pm b/lib/Module/Install/PRIVATE.pm
new file mode 100644 (file)
index 0000000..1226843
--- /dev/null
@@ -0,0 +1,38 @@
+# Dobrica Pavlinusic, <dpavlin@rot13.org> 10/26/07 14:26:36 CEST
+package Module::Install::PRIVATE;
+
+use strict;
+use warnings;
+
+use base 'Module::Install::Base';
+our $VERSION = '0.01';
+
+=head1 NAME
+
+Module::Install::PRIVATE - Module Install Support
+
+=head1 SYNOPSIS
+
+=head1 DESCRIPTION
+
+=head2 html_target
+
+=cut
+
+sub my_targets {
+       my ($self) = @_;
+
+       $self->postamble(<<"END_MAKEFILE");
+# --- $self section:
+
+debug:
+       ./bin/acs.pl -d -d -d 2>&1 | tee log
+
+END_MAKEFILE
+
+       warn "added my targets\n";
+
+       return $self;
+}
+
+1;