From 962a2e10c930e3504ea1c0327be2fdf70d53023e Mon Sep 17 00:00:00 2001 From: Modestas Vainius Date: Thu, 18 Jun 2009 02:11:45 +0300 Subject: Update dh_auto documentation. * dh_auto.pod -> dh_auto.7 - contains general information about dh_auto, its features, build systems supported by default (the latter is injected by man/dh_auto_pod script from Debian/Debhelper/Buildsystem/*.pm PODs via placeholders (#PLACEHOLDER#)) * POD in Debian/Debhelper/Buildsystem/*.pm -> dh_auto_.7 - build system specific information. * dh_auto_* -> dh_auto_*.1 - relatively shorty description of the specific dh_auto_* program and build system specific info for that step injected from Debian/Debhelper/Buildsystem/*.pm with man/dh_auto_pod script. * man/dh_auto_pod $step - generates full dh_auto_$step POD (replaces placeholders). * man/dh_auto_pod - generates full dh_auto.pod (replaces placeholders). Signed-off-by: Modestas Vainius --- Debian/Debhelper/Buildsystem/perl_makemaker.pm | 118 +++++++++++++++++++++++++ 1 file changed, 118 insertions(+) (limited to 'Debian/Debhelper/Buildsystem/perl_makemaker.pm') diff --git a/Debian/Debhelper/Buildsystem/perl_makemaker.pm b/Debian/Debhelper/Buildsystem/perl_makemaker.pm index 07a827ac..102e23f5 100644 --- a/Debian/Debhelper/Buildsystem/perl_makemaker.pm +++ b/Debian/Debhelper/Buildsystem/perl_makemaker.pm @@ -6,6 +6,29 @@ package Debian::Debhelper::Buildsystem::perl_makemaker; +=head1 NAME + +B - Perl ExtUtils::MakeMaker (Makefile.PL) + +=head1 SYNOPSIS + +B [B<--buildsystem>=I] ... + +=head1 DESCRIPTION + +Perl ExtUtils::MakeMaker utility is designed to write a Makefile for an +extension module from a Makefile.PL (at configure step). The rest of build +process is handled by C. Typically, ExtUtils::MakeMaker build system can +be identified by presence of the F script in the source directory. + +=head1 DH_AUTO NOTES + +Out of source tree building is not supported. + +=head1 BUILD PROCESS + +=cut + use strict; use base 'Debian::Debhelper::Buildsystem::makefile'; @@ -42,6 +65,24 @@ sub new { return $this; } +=head2 Configure step + +=over + +=item I + +Execute C script passing C and +C parameters. Environment variables C +and C are exported before running the script. + +=item I + +If F file exists but F does not exist in the source +directory. + +=back + +=cut sub configure { my $this=shift; # If set to a true value then MakeMaker's prompt function will @@ -55,10 +96,87 @@ sub configure { @_); } +=head2 Build step + +=over 4 + +=item I + +Execute C in the build directory. See I build system +documentation for more information. + +=item I + +Both F and F exist in the source directory. + +=back + +=head2 Test step + +=over 4 + +=item I + +Execute C in the source directory. See I build system +documentation for more information. + +=item I + +Both F and F exist in the source directory. + +=back + +=cut + +=head2 Install step + +=over 4 + +=item I + +Execute C in the source directory +with $destdir set to the appropriate temporary installation directory. See +I build system documentation for more information. + +=item I + +Both F and F exist in the source directory. + +=back + +=cut sub install { my $this=shift; my $destdir=shift; $this->SUPER::install($destdir, "PREFIX=/usr", @_); } +=head2 Clean step + +=over 4 + +=item I + +Execute C in the source directory. See I build system +documentation for more information. + +=item I + +Both F and F exist in the source directory. + +=back + +=head1 SEE ALSO + +L + +L + +=head1 AUTHORS + + Joey Hess + Modestas Vainius + +=cut + 1; -- cgit v1.2.3