From dea6d1e87442f48e8a40247c9ccb2fbb0ef7a464 Mon Sep 17 00:00:00 2001 From: mike Date: Mon, 19 Nov 2007 12:58:28 +0000 Subject: [PATCH] postamble for Debian builds. --- Makefile.PL | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Makefile.PL b/Makefile.PL index 85ea9f5..2fa3500 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,4 +1,4 @@ -# $Id: Makefile.PL,v 1.24 2007-10-03 14:05:04 mike Exp $ +# $Id: Makefile.PL,v 1.25 2007-11-19 12:58:28 mike Exp $ # Use: perl Makefile.PL OPTIMIZE="-O0 -g -Wdeclaration-after-statement" # or: perl Makefile.PL PREFIX=/home/mike/universe @@ -62,3 +62,12 @@ __EOT__ exit 1; } } + +sub MY::postamble { "debian: makemakerdflt + dpkg-buildpackage -rfakeroot -d + rm -rf debian-output + mkdir debian-output + mv ../libnet-z3950-zoom-perl* debian-output +"; +} + -- 1.7.10.4