r13897 - in /trunk/libmodule-find-perl/debian: control rules

eloy at users.alioth.debian.org eloy at users.alioth.debian.org
Thu Jan 31 13:39:47 UTC 2008


Author: eloy
Date: Thu Jan 31 13:39:47 2008
New Revision: 13897

URL: http://svn.debian.org/wsvn/?sc=1&rev=13897
Log:
fix lintian warnings and errors

Modified:
    trunk/libmodule-find-perl/debian/control
    trunk/libmodule-find-perl/debian/rules

Modified: trunk/libmodule-find-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libmodule-find-perl/debian/control?rev=13897&op=diff
==============================================================================
--- trunk/libmodule-find-perl/debian/control (original)
+++ trunk/libmodule-find-perl/debian/control Thu Jan 31 13:39:47 2008
@@ -1,8 +1,8 @@
 Source: libmodule-find-perl
 Section: perl
 Priority: optional
-Build-Depends: 
-Build-Depends-Indep: perl (>= 5.8.0-7), debhelper (>= 4.0.2)
+Build-Depends:  debhelper (>= 6)
+Build-Depends-Indep: perl (>= 5.8.0-7),
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Krzysztof Krzyzaniak (eloy) <eloy at debian.org>
 Standards-Version: 3.7.3

Modified: trunk/libmodule-find-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libmodule-find-perl/debian/rules?rev=13897&op=diff
==============================================================================
--- trunk/libmodule-find-perl/debian/rules (original)
+++ trunk/libmodule-find-perl/debian/rules Thu Jan 31 13:39:47 2008
@@ -22,20 +22,14 @@
 build: build-stamp
 build-stamp:
 	dh_testdir
-
-	# Add commands to compile the package here
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE) OPTIMIZE="-Wall -O2 -g"
-
 	touch build-stamp
 
 clean:
 	dh_testdir
 	dh_testroot
-
-	# Add commands to clean up after the build process here
-	-$(MAKE) distclean
-
+	[ ! -f Makefile ] || $(MAKE) distclean
 	dh_clean build-stamp install-stamp
 
 install: build install-stamp
@@ -43,16 +37,9 @@
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-
-	# Add commands to install the package into debian/$PACKAGE_NAME here
 	$(MAKE) test
 	$(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:
-	rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
-
+	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
 	touch install-stamp
 
 binary-arch:
@@ -61,9 +48,6 @@
 binary-indep: build install
 	dh_testdir
 	dh_testroot
-#	dh_installcron
-#	dh_installmenu
-#	dh_installexamples
 	dh_installdocs README test/README
 	dh_installchangelogs Changes
 	dh_perl




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