r1105 - packages/libtk-gbarr-perl/trunk/debian
Gustavo Franco
stratus@costa.debian.org
Sun, 12 Jun 2005 23:25:02 +0000
Author: stratus
Date: 2005-06-12 23:25:02 +0000 (Sun, 12 Jun 2005)
New Revision: 1105
Modified:
packages/libtk-gbarr-perl/trunk/debian/rules
Log:
It now move /usr/lib/perl5 content to /usr/share/perl5 at build time
like it should be. Fixing package-installs-nonbinary-perl-in-usr-lib-perl5
Modified: packages/libtk-gbarr-perl/trunk/debian/rules
===================================================================
--- packages/libtk-gbarr-perl/trunk/debian/rules 2005-06-12 22:47:45 UTC (rev 1104)
+++ packages/libtk-gbarr-perl/trunk/debian/rules 2005-06-12 23:25:02 UTC (rev 1105)
@@ -34,6 +34,12 @@
dh_installdirs
$(MAKE) PREFIX=$(debtmp)/usr install
+ mv $(debtmp)/usr/lib/perl5/Tk/ $(debtmp)/usr/share/perl5/Tk/
+
+ #As this is a architecture independent package, we are not supposed to install
+ #stuff to /usr/lib. MakeMaker creates the dirs, we delete them from the deb:
+ rmdir --ignore-fail-on-non-empty --parents $(debtmp)/usr/lib/perl5
+
binary-indep: build install
dh_testdir
dh_testroot