r1970 - packages/libfont-ttf-perl/trunk/debian

Russ Allbery rra at costa.debian.org
Tue Jan 17 03:20:24 UTC 2006


Author: rra
Date: 2006-01-17 03:20:23 +0000 (Tue, 17 Jan 2006)
New Revision: 1970

Modified:
   packages/libfont-ttf-perl/trunk/debian/changelog
   packages/libfont-ttf-perl/trunk/debian/rules
Log:
* General rules cleanup.
  - Remove the dh_compress exceptions; the example scripts are now in a
    separate scripts package.
  - Only run make distclean if Makefile exists.
  - Remove commented-out and unnecessary programs.
  - Remove empty /usr/lib/perl5 directory.

Modified: packages/libfont-ttf-perl/trunk/debian/changelog
===================================================================
--- packages/libfont-ttf-perl/trunk/debian/changelog	2006-01-17 03:09:32 UTC (rev 1969)
+++ packages/libfont-ttf-perl/trunk/debian/changelog	2006-01-17 03:20:23 UTC (rev 1970)
@@ -1,9 +1,15 @@
 libfont-ttf-perl (0.37-1) unstable; urgency=low
 
   * New upstream release.
+  * General rules cleanup.
+    - Remove the dh_compress exceptions; the example scripts are now in a
+      separate scripts package.
+    - Only run make distclean if Makefile exists.
+    - Remove commented-out and unnecessary programs.
+    - Remove empty /usr/lib/perl5 directory.
   * Update to debhelper compatibility level V4.
 
- -- Russ Allbery <rra at debian.org>  Mon, 16 Jan 2006 19:09:22 -0800
+ -- Russ Allbery <rra at debian.org>  Mon, 16 Jan 2006 19:20:11 -0800
 
 libfont-ttf-perl (0.35-1) unstable; urgency=low
 

Modified: packages/libfont-ttf-perl/trunk/debian/rules
===================================================================
--- packages/libfont-ttf-perl/trunk/debian/rules	2006-01-17 03:09:32 UTC (rev 1969)
+++ packages/libfont-ttf-perl/trunk/debian/rules	2006-01-17 03:20:23 UTC (rev 1970)
@@ -23,11 +23,9 @@
 clean: 
 	dh_testdir
 	dh_testroot
-	rm -f build-stamp debian/substvars debian/files
 	# Add here commands to clean up after the build process.
-	$(PERL) Makefile.PL
-	$(MAKE) distclean
-	dh_clean
+	[ ! -f Makefile ] || $(MAKE) distclean
+	dh_clean build-stamp
 
 binary-arch: build
 # We have nothing to do by default.
@@ -36,30 +34,16 @@
 	dh_testdir
 	dh_testroot
 	dh_clean
-	dh_installdirs
-	# Add here commands to install the files into debian/tmp
 	$(MAKE) install PREFIX=$(TMP)/usr
-	#-find `pwd`/debian/tmp -type f -name .packlist | xargs -r rm -f
-	#-find `pwd`/debian/tmp -type d -empty | xargs -r rmdir -p 
-	#-find `pwd`/debian/tmp -name perllocal.pod | xargs -r rm -f
+	rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
 	dh_perl
-	# fix typo
-	#-mv debian/subtsvars debian/substvars
 	dh_installdocs README.TXT
-	#dh_installexamples 
-	#      dh_installmenu
-	#      dh_installinit
-	#      dh_installcron
 	dh_installman
-	#      dh_undocumented
 	dh_installchangelogs
-	#dh_strip
-	dh_compress -XStripCmap -Xaddpclt -Xmakemono -Xsymbol -Xttfaddname -Xttfdeltable -Xttfenc -Xttfwidth -Xttfunadopter -Xxmldump -Xzerohyph
+	dh_compress
 	dh_fixperms
 	dh_installdeb
-	dh_shlibdeps
 	dh_gencontrol
-	#dh_makeshlibs
 	dh_md5sums
 	dh_builddeb
 




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