Build debian packages into debian/output, not debian-output
[ZOOM-Perl-moved-to-github.git] / Makefile.PL
index 985745c..9d303a5 100644 (file)
@@ -1,4 +1,7 @@
-# $Id: Makefile.PL,v 1.21 2007-09-10 14:19:10 mike Exp $
+# $Id: Makefile.PL,v 1.26 2007-11-29 16:43:52 mike Exp $
+
+# Use: perl Makefile.PL OPTIMIZE="-O0 -g -Wdeclaration-after-statement"
+#  or: perl Makefile.PL PREFIX=/home/mike/universe
 
 use 5.008;
 use ExtUtils::MakeMaker;
@@ -59,3 +62,13 @@ __EOT__
        exit 1;
     }
 }
+
+sub MY::postamble { "debian: debian/output
+
+debian/output:
+       dpkg-buildpackage -rfakeroot -d
+       rm -rf debian/output
+       mkdir debian/output
+       mv ../libnet-z3950-zoom-perl* debian/output
+";
+}