r11909 - in /trunk/libdata-serializer-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Wed Jan 2 13:03:40 UTC 2008


Author: gregoa-guest
Date: Wed Jan  2 13:03:40 2008
New Revision: 11909

URL: http://svn.debian.org/wsvn/?sc=1&rev=11909
Log:
debian/rules:
  - let install-stamp target depend on build-stamp
  - remove empty directories below /usr/lib/perl5 only if they exist
  - don't create .packlist instead of deleting it later
  - don't install examples which only contains a README which is only a
    text version of Data::Serializer::Cookbook.3pm
  - don't install README which is just a copy of Data::Serializer.3pm

Modified:
    trunk/libdata-serializer-perl/debian/changelog
    trunk/libdata-serializer-perl/debian/rules

Modified: trunk/libdata-serializer-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libdata-serializer-perl/debian/changelog?rev=11909&op=diff
==============================================================================
--- trunk/libdata-serializer-perl/debian/changelog (original)
+++ trunk/libdata-serializer-perl/debian/changelog Wed Jan  2 13:03:40 2008
@@ -2,6 +2,13 @@
 
   * Add build dependency on libmodule-build-perl (closes: #458680).
   * Set urgency to medium because of the FTBFS bug.
+  * debian/rules:
+    - let install-stamp target depend on build-stamp
+    - remove empty directories below /usr/lib/perl5 only if they exist
+    - don't create .packlist instead of deleting it later
+    - don't install examples which only contains a README which is only a
+      text version of Data::Serializer::Cookbook.3pm
+    - don't install README which is just a copy of Data::Serializer.3pm
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Wed, 02 Jan 2008 13:38:58 +0100
 

Modified: trunk/libdata-serializer-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libdata-serializer-perl/debian/rules?rev=11909&op=diff
==============================================================================
--- trunk/libdata-serializer-perl/debian/rules (original)
+++ trunk/libdata-serializer-perl/debian/rules Wed Jan  2 13:03:40 2008
@@ -24,7 +24,7 @@
 	dh_testdir
 
 	# Add commands to compile the package here
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(PERL) Makefile.PL INSTALLDIRS=vendor create_packlist=0
 	$(MAKE)
 	$(MAKE) test
 
@@ -38,8 +38,8 @@
 	[ ! -f Makefile ] || $(MAKE) realclean
 
 
-install: build install-stamp
-install-stamp:
+install: install-stamp
+install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
 	dh_clean -k
@@ -47,13 +47,10 @@
 	# Add commands to install the package into debian/$PACKAGE_NAME here
 	$(MAKE) install DESTDIR=$(TMP) 
 
-	# Aren't .packlists beautiful? KILL THEM ALL!
-	find $(TMP) -type f -name .packlist | xargs rm -f
-
 	# 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:
-	rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5/auto/Data/Serializer/
+	[ ! -d $(TMP)/usr/lib/perl5/auto/Data/Serializer/ ] || rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5/auto/Data/Serializer/
 
 	touch install-stamp
 
@@ -63,8 +60,7 @@
 binary-indep: build install
 	dh_testdir
 	dh_testroot
-	dh_installexamples examples/*
-	dh_installdocs README
+	dh_installdocs
 	dh_installchangelogs Changes
 	dh_perl
 	dh_compress




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