From cfb3d201cba733fe3a3666c1fefa0ea9d7ca94da Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Mon, 19 Nov 2007 13:42:58 +0000 Subject: [PATCH] Add Debian packaging postamble. --- Makefile.PL | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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 +"; +} + -- 1.7.10.4