r73839 - in /trunk/libxml-parser-perl/debian: changelog rules

periapt-guest at users.alioth.debian.org periapt-guest at users.alioth.debian.org
Fri Apr 29 13:10:22 UTC 2011


Author: periapt-guest
Date: Fri Apr 29 13:09:59 2011
New Revision: 73839

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=73839
Log:
Added rules to fix local perl shebang and not to compress xmlfilter

Modified:
    trunk/libxml-parser-perl/debian/changelog
    trunk/libxml-parser-perl/debian/rules

Modified: trunk/libxml-parser-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-parser-perl/debian/changelog?rev=73839&op=diff
==============================================================================
--- trunk/libxml-parser-perl/debian/changelog (original)
+++ trunk/libxml-parser-perl/debian/changelog Fri Apr 29 13:09:59 2011
@@ -15,6 +15,7 @@
   * Added patch to fix NAME entries in pod (Closes: #472860)
   * Added patch to fix other pod errors (Closes: #588994)
   * Added patch to fix spelling error
+  * Added rules to fix local perl shebang and not to compress xmlfilter
 
  -- Nicholas Bamber <nicholas at periapt.co.uk>  Fri, 29 Apr 2011 11:15:43 +0100
 

Modified: trunk/libxml-parser-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-parser-perl/debian/rules?rev=73839&op=diff
==============================================================================
--- trunk/libxml-parser-perl/debian/rules (original)
+++ trunk/libxml-parser-perl/debian/rules Fri Apr 29 13:09:59 2011
@@ -1,4 +1,16 @@
 #!/usr/bin/make -f
+
+PKG:=$(shell dh_listpackages)
+TMP:=$(CURDIR)/debian/$(PKG)
+EG:=$(TMP)/usr/share/doc/$(PKG)/examples
 
 %:
 	dh $@
+
+override_dh_installexamples:
+	dh_installexamples
+	sed -i -e'1s|/usr/local/bin/perl|/usr/bin/perl/|' $(EG)/canonical $(EG)/xmlcomments $(EG)/xmlstats $(EG)/xmlfilter
+
+override_dh_compress:
+	dh_compress -Xxmlfilter
+




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