[libperl6-form-perl] 05/09: Finally switch to a minimal dh v7 style debian/rules file
Axel Beckert
abe at deuxchevaux.org
Sun May 31 16:55:42 UTC 2015
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository libperl6-form-perl.
commit 7acf86f5e54d6807f69a19010de7ad80e59056bc
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Sun May 31 18:45:26 2015 +0200
Finally switch to a minimal dh v7 style debian/rules file
---
debian/changelog | 1 +
debian/rules | 68 +++++---------------------------------------------------
2 files changed, 6 insertions(+), 63 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index ab89fff..671c990 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -41,6 +41,7 @@ libperl6-form-perl (0.04-7) UNRELEASED; urgency=low
+ Remove now obsolete /usr/lib/perl5 cleanup.
+ Replace "dh_clean -k" by "dh_prep".
+ Drop now redundant parameters to dh_clean and dh_installchangelogs.
+ + Finally switch to a minimal dh v7 style debian/rules file.
-- gregor herrmann <gregoa at debian.org> Sun, 16 Nov 2008 20:46:02 +0100
diff --git a/debian/rules b/debian/rules
index 636e022..119bd1e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,71 +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
+P=$(shell dh_listpackages)
-PACKAGE=$(shell dh_listpackages)
+%:
+ dh $@
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP =$(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp:
- dh_testdir
-
- dh_auto_configure
- dh_auto_build
- dh_auto_test
-
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
-
- dh_clean
- dh_auto_clean
-
-install: install-stamp
-install-stamp: build-stamp
- dh_testdir
- dh_testroot
- dh_prep
-
- dh_auto_install
-
- touch $@
-
-binary-arch:
-# We have nothing to do here for an architecture-independent package
-
-binary-indep: build install
- dh_testdir
- dh_testroot
+override_dh_installexamples:
dh_installexamples demo/*
- chmod 644 $(TMP)/usr/share/doc/$(PACKAGE)/examples/*
- dh_installdocs
- dh_installchangelogs
- 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
+ chmod 644 debian/$(P)/usr/share/doc/$(P)/examples/*
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libperl6-form-perl.git
More information about the Pkg-perl-cvs-commits
mailing list