r9950 - in /trunk/libdigest-md5-file-perl/debian: changelog rules

ntyni-guest at users.alioth.debian.org ntyni-guest at users.alioth.debian.org
Wed Nov 28 19:38:38 UTC 2007


Author: ntyni-guest
Date: Wed Nov 28 19:38:38 2007
New Revision: 9950

URL: http://svn.debian.org/wsvn/?sc=1&rev=9950
Log:
* Minor improvements and cleanups to debian/rules.

Modified:
    trunk/libdigest-md5-file-perl/debian/changelog
    trunk/libdigest-md5-file-perl/debian/rules

Modified: trunk/libdigest-md5-file-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libdigest-md5-file-perl/debian/changelog?rev=9950&op=diff
==============================================================================
--- trunk/libdigest-md5-file-perl/debian/changelog (original)
+++ trunk/libdigest-md5-file-perl/debian/changelog Wed Nov 28 19:38:38 2007
@@ -8,8 +8,9 @@
   [ Niko Tyni ]
   * New upstream release.
   * Update debian/watch.
+  * Minor improvements and cleanups to debian/rules.
 
- -- Niko Tyni <ntyni at iki.fi>  Wed, 28 Nov 2007 21:30:00 +0200
+ -- Niko Tyni <ntyni at iki.fi>  Wed, 28 Nov 2007 21:33:13 +0200
 
 libdigest-md5-file-perl (0.05-1) unstable; urgency=low
 

Modified: trunk/libdigest-md5-file-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libdigest-md5-file-perl/debian/rules?rev=9950&op=diff
==============================================================================
--- trunk/libdigest-md5-file-perl/debian/rules (original)
+++ trunk/libdigest-md5-file-perl/debian/rules Wed Nov 28 19:38:38 2007
@@ -24,36 +24,26 @@
 	dh_testdir
 
 	# Add commands to compile the package here
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(PERL) Makefile.PL INSTALLDIRS=vendor \
+                INSTALLVENDORARCH=/usr/share/perl5/ \
+                VENDORARCHEXP=/usr/share/perl5/
 	$(MAKE)
 	$(MAKE) test
-
-	touch build-stamp
+	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
-
-	# Add commands to clean up after the build process here
+	dh_clean build-stamp install-stamp
 	[ ! -f Makefile ] || $(MAKE) realclean
 
-	dh_clean build-stamp install-stamp
-
-install: build install-stamp
-install-stamp:
+install: install-stamp
+install-stamp: build-stamp
 	dh_testdir
 	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:
-	rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
-
-	touch install-stamp
+	touch $@
 
 binary-arch:
 # We have nothing to do here for an architecture-independent package




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