r17034 - in /trunk/libnet-imap-simple-ssl-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Sun Mar 9 00:28:49 UTC 2008


Author: gregoa-guest
Date: Sun Mar  9 00:28:48 2008
New Revision: 17034

URL: http://svn.debian.org/wsvn/?sc=1&rev=17034
Log:
debian/rules:
  - update based on dh-make-perl's templates
  - don't install README any more (text version of the POD documentation)

Modified:
    trunk/libnet-imap-simple-ssl-perl/debian/changelog
    trunk/libnet-imap-simple-ssl-perl/debian/rules

Modified: trunk/libnet-imap-simple-ssl-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libnet-imap-simple-ssl-perl/debian/changelog?rev=17034&op=diff
==============================================================================
--- trunk/libnet-imap-simple-ssl-perl/debian/changelog (original)
+++ trunk/libnet-imap-simple-ssl-perl/debian/changelog Sun Mar  9 00:28:48 2008
@@ -8,13 +8,16 @@
     field (source stanza); Homepage field (source stanza). Removed: XS-
     Vcs-Svn fields.
   * debian/rules: delete /usr/lib/perl5 only if it exists (closes: #467866).
+  * debian/rules:
+    - update based on dh-make-perl's templates
+    - don't install README any more (text version of the POD documentation)
   * debian/watch: use dist-based URL and remove call to uupdate.
   * Set Standards-Version to 3.7.3 (no changes).
   * Set debhelper compatibility level to 5.
   * Add /me to Uploaders.
   * debian/copyright: add generic upstream URL.
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Sun, 09 Mar 2008 01:25:01 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Sun, 09 Mar 2008 01:26:29 +0100
 
 libnet-imap-simple-ssl-perl (1.3-2) unstable; urgency=low
 

Modified: trunk/libnet-imap-simple-ssl-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libnet-imap-simple-ssl-perl/debian/rules?rev=17034&op=diff
==============================================================================
--- trunk/libnet-imap-simple-ssl-perl/debian/rules (original)
+++ trunk/libnet-imap-simple-ssl-perl/debian/rules Sun Mar  9 00:28:48 2008
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
-# This debian/rules file is based upon a template for normal perl
-# packages. The template was created by Marc Brockschmidt <marc at dch-faq.de> for
+# This debian/rules file is provided as a template for normal perl
+# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
 # the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
 # be used freely wherever it is useful.
 
@@ -19,33 +19,22 @@
 
 TMP     =$(CURDIR)/debian/$(PACKAGE)
 
-# Allow disabling build optimation by setting noopt in
-# $DEB_BUILD_OPTIONS
-CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-        CFLAGS += -O0
-else
-        CFLAGS += -O2
-endif
-
 build: build-stamp
 build-stamp:
 	dh_testdir
 
-	# commands to compile the package
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="$(CFLAGS)"
+	$(MAKE)
 	$(MAKE) test
 
-	touch build-stamp
+	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
 
-	# commands to clean up after the build process
 	dh_clean build-stamp install-stamp
-	-$(MAKE) distclean
+	[ ! -f Makefile ] || $(MAKE) realclean
 
 install: install-stamp
 install-stamp: build-stamp
@@ -53,29 +42,20 @@
 	dh_testroot
 	dh_clean -k
 
-	$(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:
 	[ ! -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.
+# We have nothing to do here for an architecture-independent package
 
 binary-indep: build install
 	dh_testdir
 	dh_testroot
-#	dh_installcron
-#	dh_installmenu
-#	dh_installexamples
-	dh_installdocs README
+	dh_installdocs
 	dh_installchangelogs Changes
 	dh_perl
-	dh_link
-	dh_strip
 	dh_compress
 	dh_fixperms
 	dh_installdeb
@@ -87,4 +67,4 @@
 	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
 
 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