[libwebservice-cia-perl] 06/07: debian/rules: Remove obsolete targets, deletions and variable usage

Axel Beckert abe at deuxchevaux.org
Mon Jun 2 01:13:56 UTC 2014


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

abe pushed a commit to branch master
in repository libwebservice-cia-perl.

commit a704a1f93ee8b769144d5a98c4af894daae05484
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Mon Jun 2 03:11:48 2014 +0200

    debian/rules: Remove obsolete targets, deletions and variable usage
---
 debian/changelog |  1 +
 debian/rules     | 23 +----------------------
 2 files changed, 2 insertions(+), 22 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 31a04f9..4f9d55c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -36,6 +36,7 @@ libwebservice-cia-perl (1.4-2) UNRELEASED; urgency=low
     + Remove obsolete dh_{clean,installchangelogs} parameters
     + Move dh_installexamples parameters to debian/examples
     + Replace "dh_clean -k" with "dh_prep".
+    + Remove obsolete targets, deletions and variable usage.
 
  -- gregor herrmann <gregoa at debian.org>  Sun, 16 Nov 2008 20:48:55 +0100
 
diff --git a/debian/rules b/debian/rules
index 146aac3..ad8cbdb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,18 +12,6 @@
 # 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-arch build-indep
 build-arch: build-stamp
 build-indep: build-stamp
@@ -54,10 +42,7 @@ install-stamp: build-stamp
 
 	# Add commands to install the package into debian/$(PACKAGE) here
 	dh_auto_install
-
-	rm -f $(TMP)/usr/bin/webservice-cia-makedbm.pl
-	rm -rf $(TMP)/usr/bin
-	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
+	rm -rf debian/libwebservice-cia-perl/usr/bin
 
 	touch $@
 
@@ -77,9 +62,3 @@ binary-indep: build install
 	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

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



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