[libmidi-perl] 16/21: Replace direct changes to POD file with an override in debian/rules.
gregor herrmann
gregoa at debian.org
Fri May 6 14:06:54 UTC 2016
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libmidi-perl.
commit 725da428927b924e43ede12286365c34a7a12310
Author: gregor herrmann <gregoa at debian.org>
Date: Fri May 6 15:57:19 2016 +0200
Replace direct changes to POD file with an override in debian/rules.
---
debian/rules | 8 ++++++++
lib/MIDI/Filespec.pod | 2 ++
2 files changed, 10 insertions(+)
diff --git a/debian/rules b/debian/rules
index 2d33f6a..66744bf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,12 @@
#!/usr/bin/make -f
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
+
%:
dh $@
+
+override_dh_auto_install:
+ dh_auto_install
+ # remove hashbang from pod file
+ sed -i '1,2 d' $(TMP)/usr/share/perl5/MIDI/Filespec.pod
diff --git a/lib/MIDI/Filespec.pod b/lib/MIDI/Filespec.pod
index f13c269..5308594 100644
--- a/lib/MIDI/Filespec.pod
+++ b/lib/MIDI/Filespec.pod
@@ -1,3 +1,5 @@
+#!/usr/local/bin/perl
+
=head1 NAME
MIDI::Filespec -- MIDI File Specification
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmidi-perl.git
More information about the Pkg-perl-cvs-commits
mailing list