r68831 - in /trunk/libxml-tidy-perl/debian: changelog control libxml-tidy-perl.examples rules

periapt-guest at users.alioth.debian.org periapt-guest at users.alioth.debian.org
Wed Feb 16 20:32:03 UTC 2011


Author: periapt-guest
Date: Wed Feb 16 20:31:55 2011
New Revision: 68831

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=68831
Log:
Added rules for example script

Added:
    trunk/libxml-tidy-perl/debian/libxml-tidy-perl.examples
Modified:
    trunk/libxml-tidy-perl/debian/changelog
    trunk/libxml-tidy-perl/debian/control
    trunk/libxml-tidy-perl/debian/rules

Modified: trunk/libxml-tidy-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-tidy-perl/debian/changelog?rev=68831&op=diff
==============================================================================
--- trunk/libxml-tidy-perl/debian/changelog (original)
+++ trunk/libxml-tidy-perl/debian/changelog Wed Feb 16 20:31:55 2011
@@ -2,6 +2,7 @@
 
   * New upstream release
   * Updated copyright
+  * Added rules for example script
 
  -- Nicholas Bamber <nicholas at periapt.co.uk>  Wed, 16 Feb 2011 19:52:03 +0000
 

Modified: trunk/libxml-tidy-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-tidy-perl/debian/control?rev=68831&op=diff
==============================================================================
--- trunk/libxml-tidy-perl/debian/control (original)
+++ trunk/libxml-tidy-perl/debian/control Wed Feb 16 20:31:55 2011
@@ -1,7 +1,7 @@
 Source: libxml-tidy-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 7)
+Build-Depends: debhelper (>= 7.0.50~)
 Build-Depends-Indep: libmath-basecnv-perl, libxml-xpath-perl, libtest-pod-perl,
  libtest-pod-coverage-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>

Added: trunk/libxml-tidy-perl/debian/libxml-tidy-perl.examples
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-tidy-perl/debian/libxml-tidy-perl.examples?rev=68831&op=file
==============================================================================
--- trunk/libxml-tidy-perl/debian/libxml-tidy-perl.examples (added)
+++ trunk/libxml-tidy-perl/debian/libxml-tidy-perl.examples Wed Feb 16 20:31:55 2011
@@ -1,0 +1,1 @@
+ex/*

Modified: trunk/libxml-tidy-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-tidy-perl/debian/rules?rev=68831&op=diff
==============================================================================
--- trunk/libxml-tidy-perl/debian/rules (original)
+++ trunk/libxml-tidy-perl/debian/rules Wed Feb 16 20:31:55 2011
@@ -1,4 +1,17 @@
 #!/usr/bin/make -f
+
+PKG:=$(shell dh_listpackages)
+TMP:=$(CURDIR)/debian/$(PKG)
+EXAMPLES:=$(TMP)/usr/share/doc/$(PKG)/examples
 
 %:
 	dh $@
+
+override_dh_installexamples:
+	dh_installexamples
+	sed -i -e '1i #!/usr/bin/perl\n' $(EXAMPLES)/*.pl
+
+override_dh_fixperms:
+	dh_fixperms
+	chmod a+x $(EXAMPLES)/*.pl
+




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