[SCM] Debian packaging of libcarp-assert-more-perl branch, master, updated. e6c6e5fc1e816a8fabff9830bf23dd3cec60f4b8

Xavier Guimard x.guimard at free.fr
Mon Nov 19 20:54:04 UTC 2012


The following commit has been merged in the master branch:
commit ecc78efee40becea5e7dda673b181fa14546a50c
Author: Xavier Guimard <x.guimard at free.fr>
Date:   Mon Nov 19 21:36:30 2012 +0100

    Update debian/rules to use dh

diff --git a/debian/changelog b/debian/changelog
index 7b0d7a1..7e76585 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,7 @@ libcarp-assert-more-perl (1.14-1) UNRELEASED; urgency=low
   * Bump Standards-Version to 3.9.4
   * Use debhelper 8
   * Update debian/copyright (years and format)
+  * Update debian/rules to use dh
 
  -- Xavier Guimard <x.guimard at free.fr>  Mon, 19 Nov 2012 21:27:06 +0100
 
diff --git a/debian/rules b/debian/rules
index 7ba106c..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,74 +1,4 @@
 #!/usr/bin/make -f
-# 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.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# If set to a true value then MakeMaker's prompt function will
-# always return the default without waiting for user input.
-export PERL_MM_USE_DEFAULT=1
-
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP     =$(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp:
-	dh_testdir
-
-	# Add commands to compile the package here
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-	$(MAKE) test
-	
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-
-	dh_clean build-stamp install-stamp
-	[ ! -e Makefile ] || $(MAKE) distclean
-
-install: install-stamp
-install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-
-	$(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 $@
-
-binary-arch:
-# We have nothing to do by default.
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	dh_installchangelogs Changes
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-source diff:                                                                  
-	@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 install
+%:
+	dh $@

-- 
Debian packaging of libcarp-assert-more-perl



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