X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=Makefile.PL;h=db5b0d0ca1dabcd093533346c38f50e894632db6;hb=f9c651d66e2a25a09d90ee0773ea3e77edb859f9;hp=5726115abbe7427a97e3a0cbab379298c93cdbf1;hpb=b04df5cbb34e20c91a83ce0e4d1099abf46c1460;p=perl-pqf.git diff --git a/Makefile.PL b/Makefile.PL index 5726115..db5b0d0 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,12 +1,27 @@ +# $Id: Makefile.PL,v 1.6 2007-11-27 22:19:51 mike Exp $ + use 5.006; use ExtUtils::MakeMaker; + # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. WriteMakefile( 'NAME' => 'Net::Z3950::PQF', - 'VERSION_FROM' => 'PQF.pm', # finds $VERSION + 'VERSION_FROM' => 'lib/Net/Z3950/PQF.pm', # finds $VERSION 'PREREQ_PM' => {}, # e.g., Module::Name => 1.1 + clean => { FILES => "build-stamp install-stamp debian/files " . + "debian/libnet-z3950-pqf-perl " . + "debian/libnet-z3950-pqf-perl.substvars" }, ($] >= 5.005 ? ## Add these new keywords supported since 5.005 - (ABSTRACT_FROM => 'PQF.pm', # retrieve abstract from module - AUTHOR => 'Mike Taylor ') : ()), + (AUTHOR => 'Mike Taylor ') : ()), ); + + +sub MY::postamble { "debian: makemakerdflt + dpkg-buildpackage -rfakeroot -d + rm -rf debian/output + mkdir debian/output + mv ../libnet-z3950-pqf-perl* debian/output +"; +} +