[Build-common-hackers] Bug#369268: debhelper.mk: installs common docs instead of docs listed in package.docs

Micha Lenk micha at lenk.info
Sun May 28 19:11:19 UTC 2006

Package: cdbs
Version: 0.4.39-0.1
Severity: normal


in case of a multiple binary package consider the case that
- there exists a README file in the $(CURDIR)
- there exists another README file in a subdirectory
- one of the packages wants to install the README file from the
  subdirectory instead of the README from $(CURDIR)

cdbs is unable to do this using per-package *.docs files because it
supplies the $(CURDIR)/README in $DEB_INSTALL_DOCS_ALL always, even if
another README should be installed when looking at package.docs.  This
causes dh_installdocs to first install the README file mentioned in
package.docs and afterwards installing the README file from $(CURDIR)
mentioned in $DEB_INSTALL_DOCS_ALL overwriting the first README.

This bug is somewhat related to #207775 (if #207775 were fixed this new
bug wouldn't occur at all).

I attached a package source which is reduced to the files needed to
reproduce this bug. The resulting package should contain the README from
subdir but contains the README from $(CURDIR).


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-3-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

cdbs depends on no packages.

Versions of packages cdbs recommends:
ii  autotools-dev                 20060223.1 Update infrastructure for config.{
ii  debhelper                     5.0.35     helper programs for debian/rules

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dhtest_0.tar.gz
Type: application/octet-stream
Size: 1462 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20060528/0b02fa91/dhtest_0.tar.obj

More information about the Build-common-hackers mailing list