Package: dh-make
Version: 0.46
Severity: minor
Tags: patch

dh_clan(1) reads:

   OPTIONS
       -k, --keep
           This is deprecated, use dh_prep(1) instead.

The attached patch replaces 'dh_clean -k' calls with 'dh_prep'.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-openvz-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dh-make depends on:
ii  debhelper                     7.0.15     helper programs for debian/rules
ii  dpkg-dev                      1.14.22    Debian package development tools
ii  make                          3.81-5     The GNU version of the "make" util
ii  perl                          5.10.0-15  Larry Wall's Practical Extraction 

dh-make recommends no packages.

Versions of packages dh-make suggests:
ii  build-essential               11.4       Informational list of build-essent

-- no debconf information
>From 084438e9f856fd020fb7b838b7bd0b55a9066842 Mon Sep 17 00:00:00 2001
From: Jari Aalto <[EMAIL PROTECTED]>
Date: Sun, 19 Oct 2008 12:24:29 +0300
Subject: [PATCH] lib/debian*/rules: replace obsolete  dh_clean -k with dh_prep

Signed-off-by: Jari Aalto <[EMAIL PROTECTED]>
---
 lib/debiank/rules |    6 +++---
 lib/debianl/rules |    2 +-
 lib/debianm/rules |    4 ++--
 lib/debians/rules |    2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/lib/debiank/rules b/lib/debiank/rules
index 4fbf273..e451d38 100755
--- a/lib/debiank/rules
+++ b/lib/debiank/rules
@@ -81,7 +81,7 @@ build-arch-stamp: #PATCH_STAMP#
 # during a normal build
 binary-modules:
        dh_testroot
-       dh_clean -k
+       dh_prep
        dh_installdirs lib/modules/$(KVERS)/misc
 
        # Build the module
@@ -98,7 +98,7 @@ binary-modules:
        dh_gencontrol -- -v$(VERSION)
        dh_md5sums
        dh_builddeb --destdir=$(DEB_DESTDIR)
-       dh_clean -k
+       dh_prep
 
 build-indep: #CONFIG_STATUS# #CONFIGURE_STAMP# build-indep-stamp
 build-indep-stamp: #PATCH_STAMP#
@@ -127,7 +127,7 @@ install: DH_OPTIONS=
 install: build
        dh_testdir
        dh_testroot
-       dh_clean -k
+       dh_prep
        dh_installdirs
 
        # Create the directories to install the source into
diff --git a/lib/debianl/rules b/lib/debianl/rules
index 2656cdd..7bc391b 100755
--- a/lib/debianl/rules
+++ b/lib/debianl/rules
@@ -47,7 +47,7 @@ clean: #PATCH_CLEAN#
 install: build
        dh_testdir
        dh_testroot
-       dh_clean -k#PRESERVE#
+       dh_prep #PRESERVE#
        dh_installdirs
 
        # Add here commands to install the package into debian/tmp
diff --git a/lib/debianm/rules b/lib/debianm/rules
index 9042e2d..ce4978a 100755
--- a/lib/debianm/rules
+++ b/lib/debianm/rules
@@ -54,7 +54,7 @@ install: install-indep install-arch
 install-indep:
        dh_testdir
        dh_testroot
-       dh_clean -k -i#PRESERVE#
+       dh_prep -i#PRESERVE#
        dh_installdirs -i
 
        # Add here commands to install the indep part of the package into
@@ -66,7 +66,7 @@ install-indep:
 install-arch:
        dh_testdir
        dh_testroot
-       dh_clean -k -s#PRESERVE#
+       dh_prep -s#PRESERVE#
        dh_installdirs -s
 
        # Add here commands to install the arch part of the package into
diff --git a/lib/debians/rules b/lib/debians/rules
index aba5cb0..94f0e53 100755
--- a/lib/debians/rules
+++ b/lib/debians/rules
@@ -39,7 +39,7 @@ clean: #PATCH_CLEAN#
 install: build
        dh_testdir
        dh_testroot
-       dh_clean -k#PRESERVE#
+       dh_prep #PRESERVE#
        dh_installdirs
 
        # Add here commands to install the package into debian/#PACKAGE#.
-- 
1.6.0.2

Reply via email to