r15757 - in /trunk/libuser-identity-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Wed Feb 27 17:09:31 UTC 2008


Author: gregoa-guest
Date: Wed Feb 27 17:09:30 2008
New Revision: 15757

URL: http://svn.debian.org/wsvn/?sc=1&rev=15757
Log:
debian/rules:
  - move dh_clean before make distclean
  - let install-stamp target depend on build-stamp
  - use $@ for touching stamp files
  - remove commented out dh_installexamples and some comments/whitespace

Modified:
    trunk/libuser-identity-perl/debian/changelog
    trunk/libuser-identity-perl/debian/rules

Modified: trunk/libuser-identity-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libuser-identity-perl/debian/changelog?rev=15757&op=diff
==============================================================================
--- trunk/libuser-identity-perl/debian/changelog (original)
+++ trunk/libuser-identity-perl/debian/changelog Wed Feb 27 17:09:30 2008
@@ -7,8 +7,13 @@
   * debian/watch: use dist-based URL.
   * Set Standards-Version to 3.7.3 (no changes needed).
   * Set debhelper compatibility level to 6.
+  * debian/rules:
+    - move dh_clean before make distclean
+    - let install-stamp target depend on build-stamp
+    - use $@ for touching stamp files
+    - remove commented out dh_installexamples and some comments/whitespace
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Wed, 27 Feb 2008 18:05:39 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Wed, 27 Feb 2008 18:06:35 +0100
 
 libuser-identity-perl (0.92-1) unstable; urgency=low
 

Modified: trunk/libuser-identity-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libuser-identity-perl/debian/rules?rev=15757&op=diff
==============================================================================
--- trunk/libuser-identity-perl/debian/rules (original)
+++ trunk/libuser-identity-perl/debian/rules Wed Feb 27 17:09:30 2008
@@ -23,28 +23,24 @@
 build-stamp:
 	dh_testdir
 
-	# Add commands to compile the package here
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE) OPTIMIZE="-Wall -O2 -g"
 
-	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) distclean
 
-	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) test
 	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
 
@@ -53,7 +49,7 @@
 	# the dirs, we delete them from the deb:
 	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
 
-	touch install-stamp
+	touch $@
 
 binary-arch:
 # We have nothing to do by default.
@@ -61,8 +57,7 @@
 binary-indep: build install
 	dh_testdir
 	dh_testroot
-#	dh_installexamples
-	dh_installdocs 
+	dh_installdocs
 	dh_installchangelogs Changes
 	dh_perl
 	dh_link
@@ -74,7 +69,7 @@
 	dh_md5sums
 	dh_builddeb
 
-source diff:                                                                  
+source diff:
 	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
 
 binary: binary-indep binary-arch




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