[libtheschwartz-perl] 26/43: Switch to minimal dh rules file

dom at earth.li dom at earth.li
Mon May 9 20:11:02 UTC 2016


This is an automated email from the git hooks/post-receive script.

dom pushed a commit to branch master
in repository libtheschwartz-perl.

commit 4b60f228937f4c3e3eaff9569cad5896f2781bbc
Author: Dominic Hargreaves <dom at earth.li>
Date:   Sat Feb 15 16:46:59 2014 +0000

    Switch to minimal dh rules file
---
 debian/changelog |  1 +
 debian/compat    |  2 +-
 debian/control   |  2 +-
 debian/docs      |  1 +
 debian/examples  |  2 ++
 debian/rules     | 82 ++------------------------------------------------------
 6 files changed, 8 insertions(+), 82 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 18733e7..6e37505 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ libtheschwartz-perl (1.10-1) UNRELEASED; urgency=low
   * Add Vcs-* URLs
   * New upstream release
   * Conform with copyright-format 1.0
+  * Switch to minimal dh rules file
 
  -- Dominic Hargreaves <dom at earth.li>  Sat, 15 Feb 2014 11:57:55 +0000
 
diff --git a/debian/compat b/debian/compat
index 7ed6ff8..45a4fb7 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+8
diff --git a/debian/control b/debian/control
index 8563a68..4fe232f 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
 Source: libtheschwartz-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5.0.0)
+Build-Depends: debhelper (>= 8)
 Build-Depends-Indep: perl (>= 5.8.8-12), perl-modules, libdata-objectdriver-perl
 Maintainer: Dominic Hargreaves <dom at earth.li>
 Standards-Version: 3.8.0
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..30d29de
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+doc/*
diff --git a/debian/examples b/debian/examples
new file mode 100644
index 0000000..319ec59
--- /dev/null
+++ b/debian/examples
@@ -0,0 +1,2 @@
+extras/check_schwartz
+extras/thetop
diff --git a/debian/rules b/debian/rules
index 3916c11..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,82 +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
-
-	# As this is a architecture independent package, we are not
-	# supposed to install stuff to /usr/lib. MakeMaker creates
-	# the dirs, we prevent this by setting the INSTALLVENDORARCH
-	# and VENDORARCHEXP environment variables.
-
-	# Add commands to compile the package here
-	$(PERL) Makefile.PL INSTALLDIRS=vendor \
-		INSTALLVENDORARCH=/usr/share/perl5/ \
-		VENDORARCHEXP=/usr/share/perl5/
-	$(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
-
-	# Add commands to install the package into debian/$PACKAGE_NAME here
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
-	touch $@
-
-binary-arch:
-# We have nothing to do here for an architecture-independent package
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installexamples extras/check_schwartz extras/thetop
-	dh_installdocs doc/*
-	dh_installman debian/schwartzmon.1
-	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
+%:
+	dh $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtheschwartz-perl.git



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