[libbot-basicbot-perl] 10/18: Refresh d/rules

Nick Morrott nickm-guest at moszumanska.debian.org
Sat Aug 26 01:42:33 UTC 2017


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

nickm-guest pushed a commit to branch master
in repository libbot-basicbot-perl.

commit dda199338cfc959d3b733b7c629c770a3e54f8a0
Author: Nick Morrott <knowledgejunkie at gmail.com>
Date:   Fri Aug 25 21:56:19 2017 +0100

    Refresh d/rules
---
 debian/rules | 69 ++----------------------------------------------------------
 1 file changed, 2 insertions(+), 67 deletions(-)

diff --git a/debian/rules b/debian/rules
index 8044f47..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,69 +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.
-#
-# It was later modified by Jason Kohles <email at jasonkohles.com>
-# http://www.jasonkohles.com/ to support Module::Build installed modules
 
-# 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)
-
-build-arch:
-
-build-indep: build-stamp
-
-build: build-indep build-arch
-
-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) distclean
-
-install: install-stamp
-install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	# Add commands to install the package into $(TMP) here
-	$(MAKE) install DESTDIR=$(TMP)
-	touch $@
-
-binary-arch:
-# We have nothing to do here for an architecture-independent package
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs README
-	dh_installexamples examples/*
-	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 $@

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



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