r21845 - in /trunk/libtest-harness-perl/debian: changelog rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Wed Jun 18 17:19:10 UTC 2008


Author: gregoa
Date: Wed Jun 18 17:19:10 2008
New Revision: 21845

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=21845
Log:
* debian/rules:
  - add install to .PHONY
  - remove obsolete source and diff targets
  - remove some comments
  - don't install files under t/sample-tests as docs any more

Modified:
    trunk/libtest-harness-perl/debian/changelog
    trunk/libtest-harness-perl/debian/rules

Modified: trunk/libtest-harness-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-harness-perl/debian/changelog?rev=21845&op=diff
==============================================================================
--- trunk/libtest-harness-perl/debian/changelog (original)
+++ trunk/libtest-harness-perl/debian/changelog Wed Jun 18 17:19:10 2008
@@ -5,6 +5,11 @@
   * Set Standards-Version to 3.8.0; add debian/README.source to document quilt
     usage.
   * Make dependency on quilt versioned.
+  * debian/rules:
+    - add install to .PHONY
+    - remove obsolete source and diff targets
+    - remove some comments
+    - don't install files under t/sample-tests as docs any more
 
  -- gregor herrmann <gregoa at debian.org>  Wed, 18 Jun 2008 19:07:16 +0200
 

Modified: trunk/libtest-harness-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-harness-perl/debian/rules?rev=21845&op=diff
==============================================================================
--- trunk/libtest-harness-perl/debian/rules (original)
+++ trunk/libtest-harness-perl/debian/rules Wed Jun 18 17:19:10 2008
@@ -23,7 +23,6 @@
 build-stamp: $(QUILT_STAMPFN)
 	dh_testdir
 
-	# Add commands to compile the package here
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE)
 	$(MAKE) test
@@ -36,7 +35,6 @@
 
 	dh_clean build-stamp install-stamp
 
-	# Add commands to clean up after the build process here
 	[ ! -f Makefile ] || $(MAKE) realclean
 
 install: install-stamp
@@ -45,12 +43,8 @@
 	dh_testroot
 	dh_clean -k
 
-	# Add commands to install the package into debian/$PACKAGE_NAME here
 	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
 
-	# As this is a architecture independent package, we are not
-	# supposed to install stuff to /usr/lib. MakeMaker creates
-	# the dirs, we delete them from the deb:
 	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
 	rm $(TMP)/usr/share/perl5/Test/HACKING.pod
 
@@ -64,7 +58,7 @@
 binary-indep: build install
 	dh_testdir
 	dh_testroot
-	dh_installdocs t/sample-tests/todo_inline t/sample-tests/todo
+	dh_installdocs
 	dh_installexamples examples/*
 	dh_installchangelogs Changes
 	dh_perl
@@ -75,8 +69,5 @@
 	dh_md5sums
 	dh_builddeb
 
-source diff:                                                                  
-	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
-
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+.PHONY: build clean binary-indep binary-arch binary install




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