r9539 - in /trunk/libmail-box-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Sat Nov 17 21:23:24 UTC 2007


Author: gregoa-guest
Date: Sat Nov 17 21:23:23 2007
New Revision: 9539

URL: http://svn.debian.org/wsvn/?sc=1&rev=9539
Log:
debian/rules:
  - Remove OPTIMIZE, we don't compile anything.
  - Remove configure{,-stamp} targets, create install-stamp targest,
    adjust dependencies between targets.
  - Remove unneeded call to dh_strip.

Modified:
    trunk/libmail-box-perl/debian/changelog
    trunk/libmail-box-perl/debian/rules

Modified: trunk/libmail-box-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libmail-box-perl/debian/changelog?rev=9539&op=diff
==============================================================================
--- trunk/libmail-box-perl/debian/changelog (original)
+++ trunk/libmail-box-perl/debian/changelog Sat Nov 17 21:23:23 2007
@@ -5,6 +5,11 @@
     (>= 3).
   * debian/copyright: Add upstream URL, add links to both GPL and Artistic
     license, add proper copyright attribution.
+  * debian/rules:
+    - Remove OPTIMIZE, we don't compile anything.
+    - Remove configure{,-stamp} targets, create install-stamp targest,
+      adjust dependencies between targets.
+    - Remove unneeded call to dh_strip.
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Sat, 10 Nov 2007 02:18:25 +0100
 

Modified: trunk/libmail-box-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libmail-box-perl/debian/rules?rev=9539&op=diff
==============================================================================
--- trunk/libmail-box-perl/debian/rules (original)
+++ trunk/libmail-box-perl/debian/rules Sat Nov 17 21:23:23 2007
@@ -8,16 +8,11 @@
 
 PERL ?= /usr/bin/perl
 
-configure: configure-stamp
-configure-stamp:
+build: build-stamp
+build-stamp: $(QUILT_STAMPFN)
 	dh_testdir
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	touch configure-stamp
-
-build: patch build-stamp
-build-stamp: configure-stamp 
-	dh_testdir
-	$(MAKE) OPTIMIZE="-O2 -g -Wall"
+	$(MAKE)
 
 	# convert 8-bit chars to groff escapes
 	sh debian/fix-manpage-special-chars.sh
@@ -27,13 +22,14 @@
 clean: unpatch
 	dh_testdir
 	dh_testroot
-	rm -f build-stamp configure-stamp
+	rm -f build-stamp install-stamp
 	rm -rf a/ t/ tests/a/
 	rm -f tests/folders/mbox.win
 	dh_clean
 	[ ! -f Makefile ] || $(MAKE) distclean
 
-install: build
+install: install-stamp
+install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
 	dh_clean -k
@@ -45,6 +41,7 @@
 	rm $(CURDIR)/debian/libmail-box-perl/usr/share/perl5/Mail/Makefile.PL
 	# and remove /usr/lib/perl5
 	rmdir --parents --ignore-fail-on-non-empty $(CURDIR)/debian/libmail-box-perl/usr/lib/perl5
+	touch install-stamp
 
 binary-indep: build install
 binary-arch: build install
@@ -53,7 +50,6 @@
 	dh_installdocs
 	dh_installexamples
 	dh_installchangelogs ChangeLog
-	dh_strip
 	dh_compress
 	dh_fixperms
 	dh_installdeb




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