[libfinance-streamer-perl] 01/05: Convert package to short-format dh and compat 8

Daniel Lintott dlintott-guest at moszumanska.debian.org
Sat Apr 12 19:40:01 UTC 2014


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

dlintott-guest pushed a commit to branch master
in repository libfinance-streamer-perl.

commit 9ce1fd7116a7d08c25ebb0109784ba9bdd30d026
Author: Daniel Lintott <daniel at serverb.co.uk>
Date:   Sat Apr 12 20:27:39 2014 +0100

    Convert package to short-format dh and compat 8
---
 debian/compat |  2 +-
 debian/rules  | 54 ++----------------------------------------------------
 2 files changed, 3 insertions(+), 53 deletions(-)

diff --git a/debian/compat b/debian/compat
index 1e8b314..45a4fb7 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-6
+8
diff --git a/debian/rules b/debian/rules
index 04da9d5..a5e0d78 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,54 +1,4 @@
 #! /usr/bin/make -f
-#                                                       -*- makefile -*-
-# debian/rules file for the Debian Linux libfinance-streamer-perl package
-# Copyright (C) 2001 by Dirk Eddelbuettel <edd at debian.org>
 
-package := $(shell dh_listpackages)
-debtmp	:= $(CURDIR)/debian/$(package)
-
-#export DH_VERBOSE=1
-
-build: build-stamp
-build-stamp:
-	dh_testdir
-	perl Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-	$(MAKE) test
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp
-	[ ! -f Makefile ] || $(MAKE) realclean
-
-install: install-stamp
-install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	$(MAKE) install DESTDIR=$(debtmp)
-	[ ! -d $(debtmp)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(debtmp)/usr/lib/perl5
-	touch $@
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_perl
-	dh_installdocs FAQ
-	dh_installexamples	examples/*
-	dh_installchangelogs	Changes
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary-arch: build install
-
-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/libfinance-streamer-perl.git



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