Package: debhelper
Version: 5.0.7
Severity: normal
Tags: patch

Hi,

dh_installdocs creates debhelper scripts for doc-base files that have been
explicitly excluded via the -X command line switch.

Although I am not a perl hacker, the following patch seems to do the trick.

Best wishes,

Martin.

--- /usr/bin/dh_installdocs     2005-08-26 15:19:11.000000000 +0200
+++ /usr/local/bin/dh_installdocs       2005-12-04 22:17:30.000000000 +0100
@@ -198,6 +198,7 @@
        foreach my $fn (grep {/^${regexp}doc-base(\..*)?$/} readdir(DEB)) {
                # .EX are example files, generated by eg, dh-make
                next if $fn=~/\.EX$/;
+                next if excludefile($fn);
                # Parse the file to get the doc id.
                open (IN, "debian/$fn") || die "Cannot read debian/$fn.";
                while (<IN>) {


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14.3
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages debhelper depends on:
ii  binutils                      2.16.1-2   The GNU assembler, linker and bina
ii  coreutils [fileutils]         5.2.1-2.1  The GNU core utilities
ii  debconf-utils                 1.4.59     debconf utilities
ii  dpkg-dev                      1.13.11    package building tools for Debian
ii  file                          4.15-2     Determines file type using "magic"
ii  fileutils                     5.2.1-2.1  The GNU file management utilities 
ii  html2text                     1.3.2a-3   An advanced HTML to text converter
ii  perl                          5.8.7-7    Larry Wall's Practical Extraction 
ii  po-debconf                    0.9.0      manage translated Debconf template

debhelper recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to