[liblingua-stem-snowball-perl] 06/10: Switch to minimal dh style rules
dom at earth.li
dom at earth.li
Sun Apr 24 11:34:14 UTC 2016
This is an automated email from the git hooks/post-receive script.
dom pushed a commit to branch master
in repository liblingua-stem-snowball-perl.
commit 6715a539ebdf9e4c02d46f799a6ab92b9aeff1f9
Author: Dominic Hargreaves <dom at earth.li>
Date: Sun Apr 24 12:01:55 2016 +0100
Switch to minimal dh style rules
---
debian/changelog | 1 +
debian/compat | 2 +-
debian/control | 2 +-
debian/examples | 1 +
debian/rules | 75 ++------------------------------------------------------
5 files changed, 6 insertions(+), 75 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 0194e9c..f8a3d71 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ liblingua-stem-snowball-perl (0.952-3) UNRELEASED; urgency=medium
* debian/watch: use metacpan-based URL.
* Remove inappropriate dependencies on perl-modules
* Switch to dpkg-source 3.0 (quilt) format
+ * Switch to minimal dh style rules
-- Dominic Hargreaves <dom at earth.li> Sun, 24 Apr 2016 11:27:40 +0100
diff --git a/debian/compat b/debian/compat
index 7ed6ff8..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+9
diff --git a/debian/control b/debian/control
index 6e9870f..5aba091 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
Source: liblingua-stem-snowball-perl
Section: perl
Priority: optional
-Build-Depends: debhelper (>= 6.0.7~),
+Build-Depends: debhelper (>= 9),
libmodule-build-perl,
perl,
libextutils-cbuilder-perl,
diff --git a/debian/examples b/debian/examples
new file mode 100644
index 0000000..c99433f
--- /dev/null
+++ b/debian/examples
@@ -0,0 +1 @@
+devel/*
diff --git a/debian/rules b/debian/rules
index 4f1cb2b..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,75 +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
-
-PERL ?= /usr/bin/perl
-PACKAGE = $(shell dh_listpackages)
-TMP = $(CURDIR)/debian/$(PACKAGE)
-
-# Allow disabling build optimisation 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
- # Add commands to compile the package here
- $(PERL) Build.PL installdirs=vendor config=optimize="$(CFLAGS)"
- OPTIMIZE="$(CFLAGS)" $(PERL) Build
- $(PERL) Build test
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
- dh_clean build-stamp install-stamp
- # Add commands to clean up after the build process here
- [ ! -f Build ] || $(PERL) Build --allow_mb_mismatch 1 distclean
-
-install: install-stamp
-install-stamp: build-stamp
- dh_testdir
- dh_testroot
- dh_clean -k
- # Add commands to install the package into $(TMP) here
- $(PERL) Build install destdir=$(TMP) create_packlist=0
- touch $@
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do here for an architecture-dependent package
-
-# Build architecture-dependent files here.
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_installdocs
- dh_installexamples devel/benchmark_stemmers.plx devel/generate_tests.plx
- dh_installchangelogs Changes
- dh_lintian
- dh_shlibdeps
- dh_strip
- 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 $@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/liblingua-stem-snowball-perl.git
More information about the Pkg-perl-cvs-commits
mailing list