r37412 - /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
Thu Jun 4 11:20:58 UTC 2009


Author: bremner-guest
Date: Thu Jun  4 11:20:29 2009
New Revision: 37412

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=37412
Log:
run configure scripts only when needed in clean step

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=37412&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 Thu Jun  4 11:20:29 2009
@@ -15,10 +15,10 @@
 cd $1
 if [ -r Build.PL ];
 then
-    $PERL Build.PL installdirs=vendor
+    [ -x Build ] || $PERL Build.PL installdirs=vendor
     $PERL Build distclean  
 else
     # this is not tested yet because all of the modules are the other kind
-    PERL5LIB=$PERL5LIB $PERL Makefile.PL INSTALLDIRS=vendor --skipdeps
+    [ -e Makefile ] || PERL5LIB=$PERL5LIB $PERL Makefile.PL INSTALLDIRS=vendor --skipdeps
     $MAKE distclean 
 fi




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