r49144 - in /trunk/libaspect-perl/debian: changelog rules

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Tue Dec 22 03:33:22 UTC 2009


Author: jawnsy-guest
Date: Tue Dec 22 03:33:13 2009
New Revision: 49144

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=49144
Log:
Clean up overrides

Modified:
    trunk/libaspect-perl/debian/changelog
    trunk/libaspect-perl/debian/rules

Modified: trunk/libaspect-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libaspect-perl/debian/changelog?rev=49144&op=diff
==============================================================================
--- trunk/libaspect-perl/debian/changelog (original)
+++ trunk/libaspect-perl/debian/changelog Tue Dec 22 03:33:13 2009
@@ -3,6 +3,7 @@
   * New upstream release
   * Now needs Sub::Uplevel 0.2002
   * Rewrite control short description
+  * Clean up overrides
 
  -- Jonathan Yu <jawnsy at cpan.org>  Mon, 21 Dec 2009 19:14:08 -0500
 

Modified: trunk/libaspect-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libaspect-perl/debian/rules?rev=49144&op=diff
==============================================================================
--- trunk/libaspect-perl/debian/rules (original)
+++ trunk/libaspect-perl/debian/rules Tue Dec 22 03:33:13 2009
@@ -1,12 +1,18 @@
 #!/usr/bin/make -f
+
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
 
 %:
 	dh $@
 
 override_dh_fixperms:
 	dh_fixperms
-	find debian/libaspect-perl/usr/share -name .svn | xargs -r rm -rf
-	chmod -x debian/libaspect-perl/usr/share/doc/libaspect-perl/examples/*/README
+	chmod -x $(TMP)/usr/share/doc/$(PACKAGE)/examples/*/README
+
+override_dh_installexamples:
+	dh_installexamples
+	sed -i '1s|^#!perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/*
 
 override_dh_auto_test:
 	AUTOMATED_TESTING=1 dh_auto_test




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