r44951 - in /trunk/libnet-bittorrent-perl/debian: changelog control rules

mogaal-guest at users.alioth.debian.org mogaal-guest at users.alioth.debian.org
Sun Sep 27 18:11:32 UTC 2009


Author: mogaal-guest
Date: Sun Sep 27 18:11:15 2009
New Revision: 44951

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=44951
Log:
Improve debian/rules

Modified:
    trunk/libnet-bittorrent-perl/debian/changelog
    trunk/libnet-bittorrent-perl/debian/control
    trunk/libnet-bittorrent-perl/debian/rules

Modified: trunk/libnet-bittorrent-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-bittorrent-perl/debian/changelog?rev=44951&op=diff
==============================================================================
--- trunk/libnet-bittorrent-perl/debian/changelog (original)
+++ trunk/libnet-bittorrent-perl/debian/changelog Sun Sep 27 18:11:15 2009
@@ -1,10 +1,6 @@
 libnet-bittorrent-perl (0.051-1) UNRELEASED; urgency=low
 
   TODO:
-  - debian/libnet-bittorrent-perl.docs
-    + maybe convert the TODO.pod into a text file?
-      (in debian/rules, then install the text file, and remove it via
-      debian/clean)
   - debian/control:
     + Module::Build: "perl-modules (>= 5.10.1) | libmodule-build-perl (>= 0.30)"
       (cf. also lintian's "versioned-dependency-satisfied-by-perl")

Modified: trunk/libnet-bittorrent-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-bittorrent-perl/debian/control?rev=44951&op=diff
==============================================================================
--- trunk/libnet-bittorrent-perl/debian/control (original)
+++ trunk/libnet-bittorrent-perl/debian/control Sun Sep 27 18:11:15 2009
@@ -1,7 +1,7 @@
 Source: libnet-bittorrent-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 7.0.50~), quilt, pod2text
+Build-Depends: debhelper (>= 7.0.50~), quilt
 Build-Depends-Indep: perl, quilt (>= 0.46-7), perl-modules (>= 5.10.1) | libmodule-build-perl (>= 0.30), 
                      libtest-simple-perl, libtest-pod-perl, libtest-pod-coverage-perl, libdata-dump-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>

Modified: trunk/libnet-bittorrent-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-bittorrent-perl/debian/rules?rev=44951&op=diff
==============================================================================
--- trunk/libnet-bittorrent-perl/debian/rules (original)
+++ trunk/libnet-bittorrent-perl/debian/rules Sun Sep 27 18:11:15 2009
@@ -5,10 +5,14 @@
 
 override_dh_auto_install:
 	dh_auto_install
-	chmod 644 debian/libnet-bittorrent-perl/usr/share/perl5/Net/BitTorrent/Notes.pod
 	mv $(CURDIR)/debian/libnet-bittorrent-perl/usr/bin/net-bittorrent.pl $(CURDIR)/debian/libnet-bittorrent-perl/usr/bin/net-bittorrent
+	mv $(CURDIR)/debian/libnet-bittorrent-perl/usr/share/man/man1/net-bittorrent.pl.1p.gz $(CURDIR)/debian/libnet-bittorrent-perl/usr/share/man/man1/net-bittorrent.1p.gz 
+
+override_dh_installdocs:
+	dh_installdocs -i
+	pod2text TODO.pod > $(CURDIR)/debian/libnet-bittorrent-perl/usr/share/doc/libnet-bittorrent-perl/TODO.txt 
 
 override_dh_fixperms:
+	chmod 644 debian/libnet-bittorrent-perl/usr/share/perl5/Net/BitTorrent/Notes.pod
+	chmod -x $(CURDIR)/debian/libnet-bittorrent-perl/usr/share/doc/libnet-bittorrent-perl/examples/956_dht.torrent
 	dh_fixperms	
-	chmod -x $(CURDIR)/debian/libnet-bittorrent-perl/usr/share/doc/libnet-bittorrent-perl/examples/956_dht.torrent
-	mv $(CURDIR)/debian/libnet-bittorrent-perl/usr/share/man/man1/net-bittorrent.pl.1p.gz $(CURDIR)/debian/libnet-bittorrent-perl/usr/share/man/man1/net-bittorrent.1p.gz 




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