r33166 - in /trunk/dh-make-perl/debian: changelog compat control docs links rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Tue Apr 14 04:25:23 UTC 2009


Author: dmn
Date: Tue Apr 14 04:25:18 2009
New Revision: 33166

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=33166
Log:
migrate to DH7

this gives support for nocheck in DEB_BUILD_OPTIONS (Closes: #523560)

install links and docs via debian/{links,docs}

Added:
    trunk/dh-make-perl/debian/docs
    trunk/dh-make-perl/debian/links
Modified:
    trunk/dh-make-perl/debian/changelog
    trunk/dh-make-perl/debian/compat
    trunk/dh-make-perl/debian/control
    trunk/dh-make-perl/debian/rules

Modified: trunk/dh-make-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/debian/changelog?rev=33166&op=diff
==============================================================================
--- trunk/dh-make-perl/debian/changelog (original)
+++ trunk/dh-make-perl/debian/changelog Tue Apr 14 04:25:18 2009
@@ -8,6 +8,9 @@
     DEB_BUILD_OPTIONS
     + add NEWS about that
     + remove --notest from POD
+  * rules, control, compat: migrate to DH7
+    + install links via debian/links, README via debian/docs
+    + this gives support to 'nocheck' in DEB_BUILD_OPTIONS (Closes: #523560)
 
  -- gregor herrmann <gregoa at debian.org>  Thu, 09 Apr 2009 15:43:56 +0200
 

Modified: trunk/dh-make-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/debian/compat?rev=33166&op=diff
==============================================================================
--- trunk/dh-make-perl/debian/compat (original)
+++ trunk/dh-make-perl/debian/compat Tue Apr 14 04:25:18 2009
@@ -1,1 +1,1 @@
-5
+7

Modified: trunk/dh-make-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/debian/control?rev=33166&op=diff
==============================================================================
--- trunk/dh-make-perl/debian/control (original)
+++ trunk/dh-make-perl/debian/control Tue Apr 14 04:25:18 2009
@@ -31,7 +31,7 @@
 
 Package: dh-make-perl
 Architecture: all
-Depends: debhelper (>= 4.0.2), ${perl:Depends}, ${misc:Depends},
+Depends: debhelper (>= 7), ${perl:Depends}, ${misc:Depends},
  make, dpkg-dev, fakeroot, 
  libapt-pkg-perl,
  libclass-accessor-perl,

Added: trunk/dh-make-perl/debian/docs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/debian/docs?rev=33166&op=file
==============================================================================
--- trunk/dh-make-perl/debian/docs (added)
+++ trunk/dh-make-perl/debian/docs Tue Apr 14 04:25:18 2009
@@ -1,0 +1,1 @@
+README

Added: trunk/dh-make-perl/debian/links
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/debian/links?rev=33166&op=file
==============================================================================
--- trunk/dh-make-perl/debian/links (added)
+++ trunk/dh-make-perl/debian/links Tue Apr 14 04:25:18 2009
@@ -1,0 +1,2 @@
+usr/bin/dh-make-perl                usr/bin/cpan2deb
+usr/share/man/man1/dh-make-perl.1p  usr/share/man/man1/cpan2deb.1p

Modified: trunk/dh-make-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/debian/rules?rev=33166&op=diff
==============================================================================
--- trunk/dh-make-perl/debian/rules (original)
+++ trunk/dh-make-perl/debian/rules Tue Apr 14 04:25:18 2009
@@ -12,18 +12,14 @@
 
 build: build-stamp
 build-stamp:
-	dh_testdir
-	$(PERL) Build.PL installdirs=vendor
-	./Build
-	NO_NETWORK=1 ./Build test
-	touch build-stamp
+	NO_NETWORK=1 dh build
+	touch $@
 
 clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp
+	dh clean
+	#rm -f build-stamp
 
-	# Add here commands to clean up after the build process.
+	# clean after test packages
 	for i in Strange-0.1 Strange-2.1; do\
 		if test -d "t/dists/$$i/debian"; then \
 		    ( \
@@ -35,37 +31,17 @@
 		fi \
 	done
 
-	! [ -f Build ] || ./Build realclean
-	dh_clean
-
 install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-
-	./Build install --destdir=$(INST) create_packlist=0
+	dh $@
 
 
 # Build architecture-independent files here.
 binary-arch: build install
-# We have nothing to do by default.
+# We have nothing to do
 
 # Build architecture-dependent files here.
 binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs README
-	dh_installman
-	dh_installchangelogs
-	dh_link usr/bin/dh-make-perl usr/bin/cpan2deb \
-		usr/share/man/man1/dh-make-perl.1p usr/share/man/man1/cpan2deb.1p
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_perl
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+	dh $@
 
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary




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