[libwx-glcanvas-perl] 01/02: Install demo module in /usr/share/doc instead of /usr/lib/perl

Nicolas Dandrimont nicolas.dandrimont at crans.org
Mon Nov 4 02:11:04 UTC 2013


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

dandrimont-guest pushed a commit to branch master
in repository libwx-glcanvas-perl.

commit 0aa482052c6574dd824f51014a2cdae1e624f079
Author: Nicolas Dandrimont <nicolas.dandrimont at crans.org>
Date:   Mon Nov 4 02:24:02 2013 +0100

    Install demo module in /usr/share/doc instead of /usr/lib/perl
---
 debian/rules |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/debian/rules b/debian/rules
index 0b8eeb2..1b04f4b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,11 @@
 %:
 	dh $@
 
+override_dh_auto_install:
+	dh_auto_install
+	mkdir -p $(CURDIR)/debian/libwx-glcanvas-perl/usr/share/doc/libwx-glcanvas-perl
+	mv $(CURDIR)/debian/libwx-glcanvas-perl/usr/lib/perl5/Wx/DemoModules $(CURDIR)/debian/libwx-glcanvas-perl/usr/share/doc/libwx-glcanvas-perl/examples
+
 override_dh_auto_test:
 ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 	# Gtk needs a X server to be imported, hence the need for xvfb-run

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



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