[SCM] Debian packaging of libtest-unit-perl branch, master, updated. debian/0.25-1-22-gbe46bfe
Xavier Guimard
x.guimard at free.fr
Fri Nov 30 21:28:02 UTC 2012
The following commit has been merged in the master branch:
commit f606a999015c6bfdf9d23d2580a9948ad0f63a4d
Author: Xavier Guimard <x.guimard at free.fr>
Date: Fri Nov 30 21:15:35 2012 +0100
Update d/rules
diff --git a/debian/changelog b/debian/changelog
index 751e101..311678f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -23,6 +23,7 @@ libtest-unit-perl (0.25-2) UNRELEASED; urgency=low
* Bump Standards-Version to 8
* Use debhelper 8
* Update copyright to format 1.0
+ * Update debian/rules to use dh
-- gregor herrmann <gregor+debian at comodo.priv.at> Tue, 09 Oct 2007 22:32:29 +0200
diff --git a/debian/rules b/debian/rules
index 9f96a68..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,66 +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
-
-include /usr/share/quilt/quilt.make
-
-PERL ?= /usr/bin/perl
-PACKAGE = $(shell dh_listpackages)
-TMP = $(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp: $(QUILT_STAMPFN)
- dh_testdir
- $(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE)
- # tests fail, test suite was not run before ...
- # $(MAKE) test
- touch $@
-
-clean: unpatch
- dh_testdir
- dh_testroot
- dh_clean build-stamp install-stamp
- [ ! -f Makefile ] || $(MAKE) realclean
-
-install: install-stamp
-install-stamp: build-stamp
- dh_testdir
- dh_testroot
- dh_clean -k
- $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
- chmod u+x $(TMP)/usr/share/perl5/Test/TestRunner.pl
- chmod u+x $(TMP)/usr/share/perl5/Test/TkTestRunner.pl
- [ ! -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 here for an architecture-independent package
-
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installexamples examples/*.pl
- dh_installdocs
- dh_installchangelogs Changes
- dh_perl
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+%:
+ dh $@
--
Debian packaging of libtest-unit-perl
More information about the Pkg-perl-cvs-commits
mailing list