r68026 - in /trunk/libpdf-api2-perl/debian: changelog control rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sat Jan 29 15:08:44 UTC 2011


Author: gregoa
Date: Sat Jan 29 15:08:33 2011
New Revision: 68026

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=68026
Log:
Minimize debian/rules.

Modified:
    trunk/libpdf-api2-perl/debian/changelog
    trunk/libpdf-api2-perl/debian/control
    trunk/libpdf-api2-perl/debian/rules

Modified: trunk/libpdf-api2-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpdf-api2-perl/debian/changelog?rev=68026&op=diff
==============================================================================
--- trunk/libpdf-api2-perl/debian/changelog (original)
+++ trunk/libpdf-api2-perl/debian/changelog Sat Jan 29 15:08:33 2011
@@ -18,6 +18,7 @@
   * Remove prerm and postinst, only needed for up-/downgrades prior to lenny.
   * Patches: remove createmanpages.diff, fix_typo_in_manpage.patch (not needed
     anymore).
+  * Minimize debian/rules.
 
  -- gregor herrmann <gregoa at debian.org>  Sat, 29 Jan 2011 15:22:40 +0100
 

Modified: trunk/libpdf-api2-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpdf-api2-perl/debian/control?rev=68026&op=diff
==============================================================================
--- trunk/libpdf-api2-perl/debian/control (original)
+++ trunk/libpdf-api2-perl/debian/control Sat Jan 29 15:08:33 2011
@@ -8,7 +8,7 @@
  Krzysztof Krzyzaniak (eloy) <eloy at debian.org>,
  Damyan Ivanov <dmn at debian.org>,
  Ryan Niebur <ryan at debian.org>
-Build-Depends: debhelper (>= 7)
+Build-Depends: debhelper (>= 7.0.50~)
 Build-Depends-Indep: perl, libfont-ttf-perl
 Standards-Version: 3.8.1
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libpdf-api2-perl/

Modified: trunk/libpdf-api2-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpdf-api2-perl/debian/rules?rev=68026&op=diff
==============================================================================
--- trunk/libpdf-api2-perl/debian/rules (original)
+++ trunk/libpdf-api2-perl/debian/rules Sat Jan 29 15:08:33 2011
@@ -1,29 +1,18 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
 
 PACKAGE= libpdf-api2-perl
 TMP    = "$(CURDIR)/debian/$(PACKAGE)"
 
 
-build: build-stamp
-build-stamp:
-	dh build
-	touch $@
-
-clean:
+%:
 	dh $@
 
-install: install-stamp
-install-stamp: build-stamp
-	dh install --before dh_installman
+override_dh_installman:
 	# remove blank/useless manpages
 	TMP=$(TMP) sh debian/remove-ignored-manpages.sh
 	dh_installman
-	dh install --after installman --before dh_link
+
+override_dh_link:
 	# The fonts' license text is included in debian/copyright, other text
 	# files inside the fonts directory should be installed in 
 	# /usr/share/doc/libpdf-api2-perl
@@ -34,13 +23,4 @@
 	# We'll use a symlink to ttf-dejavu-{core,extra} packages
 	# instead of duplicating them
 	rm -rf $(TMP)/usr/share/perl5/PDF/API2/fonts
-	dh install --remaining
-
-	touch $@
-
-binary-arch:;
-binary-indep: build install
-	dh $@
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+	dh_link




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