[Build-common-hackers] Bug#207775: installs uneeded documentation in debhelper.mk

Jordi Mallach Jordi Mallach <jordi@debian.org>, 207775@bugs.debian.org
Fri, 29 Aug 2003 19:05:59 +0200


Package: cdbs
Version: 0.4.5.4
Severity: normal

Hi,

CDBS installs all the "apparently" useful docs it finds in the source package.

DEB_INSTALL_DOCS_ALL = $(filter-out $(DEB_INSTALL_CHANGELOGS_ALL),$(shell for f in README NEWS TODO BUGS AUTHORS THANKS; do if test -s $(DEB_SRCDIR)/$$f; then echo $(DEB_SRCDIR)/$$f; fi; done))

I normally weed out empty or unneeded docs and add only the useful ones to debian/docs, which is then used by dh_instlaldocs.

I think cdbs shouldn't add doc arguments to dh_installdocs if a *.docs file exists for the package it is being run for.

Thanks,
Jordi

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux nubol 2.6.0-test3-mm3 #1 Fri Aug 22 14:32:03 CEST 2003 i686
Locale: LANG=en_GB, LC_CTYPE=en_GB

-- no debconf information