[libsendmail-milter-perl] 18/20: Switched to Debhelper 7
Hilko Bengen
bengen at moszumanska.debian.org
Sun Sep 27 18:32:54 UTC 2015
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag debian/1.0-1
in repository libsendmail-milter-perl.
commit e826709130db4b0d30dc103ac889bca49c8418c9
Author: Hilko Bengen <bengen at debian.org>
Date: Tue Jun 12 22:49:37 2012 +0200
Switched to Debhelper 7
---
debian/compat | 2 +-
debian/control | 2 +-
debian/dirs | 1 +
debian/libparse-win32registry-perl.install | 2 -
debian/rules | 70 +++---------------------------
5 files changed, 10 insertions(+), 67 deletions(-)
diff --git a/debian/compat b/debian/compat
index 7ed6ff8..7f8f011 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+7
diff --git a/debian/control b/debian/control
index 0600feb..69ad050 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
Source: libparse-win32registry-perl
Section: perl
Priority: optional
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper (>= 7.0.50~)
Build-Depends-Indep: perl (>= 5.6.0-12)
Maintainer: Hilko Bengen <bengen at debian.org>
Standards-Version: 3.8.3
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..2bc5541
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1 @@
+/usr/share/doc/libparse-win32registry-perl/examples
diff --git a/debian/libparse-win32registry-perl.install b/debian/libparse-win32registry-perl.install
deleted file mode 100644
index 1615f0b..0000000
--- a/debian/libparse-win32registry-perl.install
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/share/perl5
-usr/share/man/man3
diff --git a/debian/rules b/debian/rules
index 9a34ab3..187a33e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,69 +1,13 @@
#!/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
+%:
+ dh $@
-PERL ?= /usr/bin/perl
-PACKAGE = $(shell dh_listpackages)
-TMP = $(CURDIR)/debian/tmp
-
-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
- # Add commands to clean up after the build process here
- [ ! -f Makefile ] || $(MAKE) realclean
-
-install: install-stamp
-install-stamp: build-stamp
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
- # Add commands to install the package into $(TMP) here
- $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
- [ ! -d $(TMP)/usr/lib/perl5 ] || \
- rmdir --ignore-fail-on-non-empty --parents --verbose \
- $(TMP)/usr/lib/perl5
-
- dh_installexamples bin/*.pl
- chmod 755 $(CURDIR)/debian/${PACKAGE}/usr/share/doc/${PACKAGE}/examples/*.pl
-
- dh_install --sourcedir=debian/tmp --autodest
- touch $@
-
-binary-arch:
-# We have nothing to do here for an architecture-independent package
-
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installdocs
- dh_installchangelogs Changes
- dh_perl
+override_dh_auto_install:
+ dh_auto_install
+ mv debian/libparse-win32registry-perl/usr/bin/*.pl \
+ debian/libparse-win32registry-perl/usr/share/doc/libparse-win32registry-perl/examples
+override_dh_compress:
dh_compress -X.pl
- dh_fixperms
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libsendmail-milter-perl.git
More information about the Pkg-perl-cvs-commits
mailing list