[libdevice-usb-perl] 01/02: debian/rules: work around a bug in Inline by moving FAQ.pod around.

gregor herrmann gregoa at debian.org
Wed Jul 16 18:43:06 UTC 2014


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

gregoa pushed a commit to branch master
in repository libdevice-usb-perl.

commit 937e3d2629cf66026e7e92345d2f58415db96f67
Author: gregor herrmann <gregoa at debian.org>
Date:   Wed Jul 16 20:39:37 2014 +0200

    debian/rules: work around a bug in Inline by moving FAQ.pod around.
    
    Thanks: Niko Tyni for pointing out the Inline issue (https://github.com/ingydotnet/inline-pm/pull/29).
    Closes: #754993
---
 debian/rules | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/debian/rules b/debian/rules
index 2d33f6a..3239849 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,3 +2,17 @@
 
 %:
 	dh $@
+
+
+# the following overrides work around a problem in Inline >= 0.57
+# cf. https://github.com/ingydotnet/inline-pm/pull/29 and
+# https://bugs.debian.org/754993
+
+override_dh_auto_configure:
+	mv $(CURDIR)/lib/Device/USB/FAQ.pod $(CURDIR)/debian/
+	dh_auto_configure
+
+override_dh_auto_build:
+	dh_auto_build
+	mv $(CURDIR)/debian/FAQ.pod $(CURDIR)/blib/lib/Device/USB/
+	pod2man --section 3pm --utf8 $(CURDIR)/blib/lib/Device/USB/FAQ.pod > $(CURDIR)/blib/man3/Device::USB::FAQ.3pm

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



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