r37666 - /trunk/libsyntax-highlight-engine-simple-languages-perl/debian/clean-module.sh

bremner-guest at users.alioth.debian.org bremner-guest at users.alioth.debian.org
Sat Jun 6 12:09:57 UTC 2009


Author: bremner-guest
Date: Sat Jun  6 12:09:52 2009
New Revision: 37666

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=37666
Log:
update d/clean-module.sh to follow pre-dh7 dh-make-perl templates

Modified:
    trunk/libsyntax-highlight-engine-simple-languages-perl/debian/clean-module.sh

Modified: trunk/libsyntax-highlight-engine-simple-languages-perl/debian/clean-module.sh
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsyntax-highlight-engine-simple-languages-perl/debian/clean-module.sh?rev=37666&op=diff
==============================================================================
--- trunk/libsyntax-highlight-engine-simple-languages-perl/debian/clean-module.sh (original)
+++ trunk/libsyntax-highlight-engine-simple-languages-perl/debian/clean-module.sh Sat Jun  6 12:09:52 2009
@@ -1,5 +1,4 @@
 #!/bin/sh
-
 PERL=$(which perl)
 MAKE=$(which make)
 
@@ -15,10 +14,7 @@
 cd $1
 if [ -r Build.PL ];
 then
-    [ -x Build ] || $PERL Build.PL installdirs=vendor
-    $PERL Build distclean  
+    [ ! -f Build ] || ${PERL} Build --allow_mb_mismatch 1 distclean
 else
-    # this is not tested yet because all of the modules are the other kind
-    [ -e Makefile ] || PERL5LIB=$PERL5LIB $PERL Makefile.PL INSTALLDIRS=vendor --skipdeps
-    $MAKE distclean 
+    [ ! -f Makefile ] || ${MAKE} realclean
 fi




More information about the Pkg-perl-cvs-commits mailing list