[libfile-libmagic-perl] 11/12: Upstream examples have been removed.

gregor herrmann gregoa at debian.org
Sat Dec 5 20:43:53 UTC 2015


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

gregoa pushed a commit to branch master
in repository libfile-libmagic-perl.

commit 21bd2b5fa017835f348f26aabc8ec962920e38b0
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Dec 5 21:41:15 2015 +0100

    Upstream examples have been removed.
    
    Drop debian/libfile-libmagic-perl.examples and override in debian/rules.
---
 debian/libfile-libmagic-perl.examples | 1 -
 debian/rules                          | 7 -------
 2 files changed, 8 deletions(-)

diff --git a/debian/libfile-libmagic-perl.examples b/debian/libfile-libmagic-perl.examples
deleted file mode 100644
index 0bbe99e..0000000
--- a/debian/libfile-libmagic-perl.examples
+++ /dev/null
@@ -1 +0,0 @@
-example/*
diff --git a/debian/rules b/debian/rules
index 0692fed..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,4 @@
 #!/usr/bin/make -f
 
-PACKAGE := $(shell dh_listpackages)
-TMP     := $(CURDIR)/debian/$(PACKAGE)
-
 %:
 	dh $@
-
-override_dh_installexamples:
-	dh_installexamples
-	sed -i "s,^#! perl,#! /usr/bin/perl," $(TMP)/usr/share/doc/$(PACKAGE)/examples/*.pl

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



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