Add Debian packaging postamble.
[perl-pqf.git] / Makefile.PL
index 0f3a550..0d71dcb 100644 (file)
@@ -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 <mike@indexdata.com>') : ()),
 );
+
+
+sub MY::postamble { "debian: makemakerdflt
+       dpkg-buildpackage -rfakeroot -d
+       rm -rf debian-output
+       mkdir debian-output
+       mv ../libnet-z3950-pqf-perl* debian-output
+";
+}
+