From: Mike Taylor Date: Mon, 19 Nov 2007 13:42:58 +0000 (+0000) Subject: Add Debian packaging postamble. X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=cfb3d201cba733fe3a3666c1fefa0ea9d7ca94da;p=perl-pqf.git Add Debian packaging postamble. --- diff --git a/Makefile.PL b/Makefile.PL index 0f3a550..0d71dcb 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,4 +1,4 @@ -# $Id: Makefile.PL,v 1.3 2004-12-17 13:44:47 mike Exp $ +# $Id: Makefile.PL,v 1.4 2007-11-19 13:42:58 mike Exp $ use 5.006; use ExtUtils::MakeMaker; @@ -12,3 +12,13 @@ WriteMakefile( ($] >= 5.005 ? ## Add these new keywords supported since 5.005 (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 +"; +} +