r7740 - /trunk/libxml-atom-perl/debian/rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Wed Sep 19 06:55:37 UTC 2007


Author: dmn
Date: Wed Sep 19 06:55:37 2007
New Revision: 7740

URL: http://svn.debian.org/wsvn/?sc=1&rev=7740
Log:
* debian/rules:
  + Removed unneeded dh_link and dh_strip calls
  + Move dh_clean $stamp_files before distclean
  + Remove unneeded OPTIMIZE="..."
  + Use PERL_AUTOINSTALL=--skip when invoking $(Perl) Makefile.PL to avoid
    downloading missing dependencies from CPAN

Modified:
    trunk/libxml-atom-perl/debian/rules

Modified: trunk/libxml-atom-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libxml-atom-perl/debian/rules?rev=7740&op=diff
==============================================================================
--- trunk/libxml-atom-perl/debian/rules (original)
+++ trunk/libxml-atom-perl/debian/rules Wed Sep 19 06:55:37 2007
@@ -34,11 +34,11 @@
 build-stamp: patch-stamp
 	dh_testdir
 
-	$(PERL) Makefile.PL \
+	PERL_AUTOINSTALL=--skip $(PERL) Makefile.PL \
 		INSTALLDIRS=vendor \
 		VENDORARCHEXP=/usr/share/perl5 \
 		INSTALLVENDORARCH=/usr/share/perl5
-	$(MAKE) OPTIMIZE="$(CFLAGS)"
+	$(MAKE)
 	$(MAKE) test
 	
 	touch $@
@@ -46,10 +46,10 @@
 clean: unpatch
 	dh_testdir
 	dh_testroot
-
-	[ ! -f Makefile ] || $(MAKE) distclean
 	
 	dh_clean build-stamp install-stamp
+	
+	[ ! -f Makefile ] || $(MAKE) distclean
 
 install: install-stamp
 install-stamp: build-stamp
@@ -68,8 +68,6 @@
 	dh_installdocs README
 	dh_installchangelogs Changes
 	dh_perl
-	dh_link
-	dh_strip
 	dh_compress
 	dh_fixperms
 	dh_installdeb




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