r16926 - in /trunk/libcrypt-simple-perl/debian: changelog rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Sat Mar 8 18:32:55 UTC 2008


Author: dmn
Date: Sat Mar  8 18:32:55 2008
New Revision: 16926

URL: http://svn.debian.org/wsvn/?sc=1&rev=16926
Log:
* debian/rules: clean up
  + make install target depend only on install-stamp and make install-stamp
    depend on build-stamp
  + use "$@" when touching stamps
  + remove stamos before realclean
  + add install to .PHONY
  + move test suite from install to build target
  + remove unused OPTIMIZE setting

Modified:
    trunk/libcrypt-simple-perl/debian/changelog
    trunk/libcrypt-simple-perl/debian/rules

Modified: trunk/libcrypt-simple-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libcrypt-simple-perl/debian/changelog?rev=16926&op=diff
==============================================================================
--- trunk/libcrypt-simple-perl/debian/changelog (original)
+++ trunk/libcrypt-simple-perl/debian/changelog Sat Mar  8 18:32:55 2008
@@ -1,5 +1,6 @@
 libcrypt-simple-perl (0.06-4) unstable; urgency=low
 
+  [ Sandro Tosi ]
   * debian/rules
     - fix for FTBFS with Perl 5.10.0 (Closes: #467724)
   * debian/control
@@ -10,6 +11,16 @@
   * debian/watch
     - version set to 3
     - updated url to scan to team standards
+
+  [ Damyan Ivanov ]
+  * debian/rules: clean up
+    + make install target depend only on install-stamp and make install-stamp
+      depend on build-stamp
+    + use "$@" when touching stamps
+    + remove stamos before realclean
+    + add install to .PHONY
+    + move test suite from install to build target
+    + remove unused OPTIMIZE setting
 
  -- Sandro Tosi <matrixhasu at gmail.com>  Sat, 08 Mar 2008 18:36:27 +0100
 

Modified: trunk/libcrypt-simple-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libcrypt-simple-perl/debian/rules?rev=16926&op=diff
==============================================================================
--- trunk/libcrypt-simple-perl/debian/rules (original)
+++ trunk/libcrypt-simple-perl/debian/rules Sat Mar  8 18:32:55 2008
@@ -20,27 +20,26 @@
 
 	# Add commands to compile the package here
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="-Wall -O2 -g"
+	$(MAKE)
+	$(MAKE) test
 
-	touch build-stamp
+	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
 
+	dh_clean build-stamp install-stamp
 	# Add commands to clean up after the build process here
 	[ ! -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) test
 	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
 
 	# As this is a architecture independent package, we are not
@@ -48,7 +47,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.
@@ -67,4 +66,4 @@
 	dh_builddeb
 
 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