r15716 - in /trunk/libclass-data-inheritable-perl/debian: changelog control patches/ rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Wed Feb 27 09:00:27 UTC 2008


Author: dmn
Date: Wed Feb 27 09:00:25 2008
New Revision: 15716

URL: http://svn.debian.org/wsvn/?sc=1&rev=15716
Log:
* debian/rules: clean-up
  + drop OPTIMIZE in $(MAKE) invokation
  + use "$@" when touching stamps
  + add test suite to build-stamp
  + clean stamps before $(MAKE) realclean
  + make install target depend only on install-stamp and make install-stamp
    depend on build-stamp
  + remove commented-out debhelper calls
  + remove unneeded dh_link and dh_strip
  + install upstream changelog
  + declare install as a phony target
* drop debian/patches/doc_perltooc_not_perltootc.diff -- applied upstream
  + drop patch support from rules and control

Removed:
    trunk/libclass-data-inheritable-perl/debian/patches/
Modified:
    trunk/libclass-data-inheritable-perl/debian/changelog
    trunk/libclass-data-inheritable-perl/debian/control
    trunk/libclass-data-inheritable-perl/debian/rules

Modified: trunk/libclass-data-inheritable-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libclass-data-inheritable-perl/debian/changelog?rev=15716&op=diff
==============================================================================
--- trunk/libclass-data-inheritable-perl/debian/changelog (original)
+++ trunk/libclass-data-inheritable-perl/debian/changelog Wed Feb 27 09:00:25 2008
@@ -11,9 +11,21 @@
   * debian/rules: delete /usr/lib/perl5 only if it exists.
   * Add myself to Uploaders
   * Standards-Version: 3.7.3 (no changes)
-  * Convert patches to quilt
   * debian/watch: remove uupdate chain
   * New upstream release
+  * debian/rules: clean-up
+    + drop OPTIMIZE in $(MAKE) invokation
+    + use "$@" when touching stamps
+    + add test suite to build-stamp
+    + clean stamps before $(MAKE) realclean
+    + make install target depend only on install-stamp and make install-stamp
+      depend on build-stamp
+    + remove commented-out debhelper calls
+    + remove unneeded dh_link and dh_strip
+    + install upstream changelog
+    + declare install as a phony target
+  * drop debian/patches/doc_perltooc_not_perltootc.diff -- applied upstream
+    + drop patch support from rules and control
 
  -- Damyan Ivanov <dmn at debian.org>  Wed, 27 Feb 2008 10:29:47 +0200
 

Modified: trunk/libclass-data-inheritable-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libclass-data-inheritable-perl/debian/control?rev=15716&op=diff
==============================================================================
--- trunk/libclass-data-inheritable-perl/debian/control (original)
+++ trunk/libclass-data-inheritable-perl/debian/control Wed Feb 27 09:00:25 2008
@@ -1,7 +1,7 @@
 Source: libclass-data-inheritable-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5), quilt, perl (>= 5.8)
+Build-Depends: debhelper (>= 5), perl (>= 5.8)
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Damyan Ivanov <dmn at debian.org>
 Standards-Version: 3.7.3

Modified: trunk/libclass-data-inheritable-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libclass-data-inheritable-perl/debian/rules?rev=15716&op=diff
==============================================================================
--- trunk/libclass-data-inheritable-perl/debian/rules (original)
+++ trunk/libclass-data-inheritable-perl/debian/rules Wed Feb 27 09:00:25 2008
@@ -11,8 +11,6 @@
 # always return the default without waiting for user input.
 export PERL_MM_USE_DEFAULT=1
 
-include /usr/share/quilt/quilt.make
-
 PACKAGE=$(shell dh_listpackages)
 
 ifndef PERL
@@ -22,32 +20,31 @@
 TMP     =$(CURDIR)/debian/$(PACKAGE)
 
 build: build-stamp
-build-stamp: $(QUILT_STAMPFN)
+build-stamp:
 	dh_testdir
 
 	# 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: unpatch
+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
-	#TEST#
 	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
 
 	# As this is a architecture independent package, we are not
@@ -55,7 +52,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.
@@ -63,14 +60,9 @@
 binary-indep: build install
 	dh_testdir
 	dh_testroot
-#	dh_installcron
-#	dh_installmenu
-#	dh_installexamples
-	dh_installdocs #DOCS#
-	dh_installchangelogs #CHANGES#
+	dh_installdocs
+	dh_installchangelogs Changes
 	dh_perl
-	dh_link
-	dh_strip
 	dh_compress
 	dh_fixperms
 	dh_installdeb
@@ -82,4 +74,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