r205 - packages/libtext-formattable-perl/trunk/debian

Gunnar Wolf gwolf@haydn.debian.org
Fri, 11 Jun 2004 16:50:58 -0600


Author: gwolf
Date: 2004-06-11 16:50:55 -0600 (Fri, 11 Jun 2004)
New Revision: 205

Modified:
   packages/libtext-formattable-perl/trunk/debian/rules
Log:
Removed example.pl from the module directory, moved it to
/usr/share/doc/libtext-formattable-perl/ 


Modified: packages/libtext-formattable-perl/trunk/debian/rules
===================================================================
--- packages/libtext-formattable-perl/trunk/debian/rules	2004-06-11 22:37:47 UTC (rev 204)
+++ packages/libtext-formattable-perl/trunk/debian/rules	2004-06-11 22:50:55 UTC (rev 205)
@@ -55,6 +55,11 @@
 	$(MAKE) test
 	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
 
+	# example.pl is incorrectly installed in the modules directory. We 
+	# remove it here and later (at dh_installdocs in the binary-inde 
+	# target) add it as documentation.
+	rm -f $(TMP)/usr/share/perl5/Text/example.pl
+
 	# 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:
@@ -71,7 +76,7 @@
 #	dh_installcron
 #	dh_installmenu
 #	dh_installexamples
-	dh_installdocs README
+	dh_installdocs README example.pl
 	dh_installchangelogs Changes
 	dh_perl
 	dh_link