Package: debhelper
Version: 5.0.37.3
Followup-For: Bug #200905

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Today I wanted to change to debhelper compat level to 5 (debian/compat) in
docbook-xsl(-doc). There I have a dh_installdocs call, where I
explicitely excluded several files (using the -X option) from beeing
installed, because these files are zero-byte files. I now expected, that
raising the compatibility level (fixing build-dependencies ...) to 5
should avoid an installation of these files. But this failed:

W: docbook-xsl-doc: zero-byte-file-in-doc-directory 
usr/share/doc/docbook-xsl-doc/doc/fo/param.html
N:
N:   Package contains a file which is empty.
N:
W: docbook-xsl-doc: zero-byte-file-in-doc-directory 
usr/share/doc/docbook-xsl-doc/doc/html/param.html
W: docbook-xsl-doc: zero-byte-file-in-doc-directory 
usr/share/doc/docbook-xsl-doc/doc/manpages/param.html
W: docbook-xsl-doc: zero-byte-file-in-doc-directory 
usr/share/doc/docbook-xsl-doc/doc/pi/pi.html
W: docbook-xsl-doc: zero-byte-file-in-doc-directory 
usr/share/doc/docbook-xsl-doc/doc/slides/param.html
W: docbook-xsl-doc: zero-byte-file-in-doc-directory 
usr/share/doc/docbook-xsl-doc/doc/website/param.html
W: docbook-xsl-doc: zero-byte-file-in-doc-directory 
usr/share/doc/docbook-xsl-doc/doc/wordml/param.html

My $package.docs files just contains the direcory name of the directory,
containg all doc-files to install. This works pretty well, but I guess, it's
also the reason, why your test, if the file is empty, fails. My fault
(or: "I should immediately stop misuing the .docs file".) or "yours" (or:
"The test could be improved to also catch this situation.")?

Regards, Daniel


- -- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (850, 'unstable'), (700, 'testing'), (550, 'stable'), (110, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.08060320
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)

Versions of packages debhelper depends on:
ii  binutils                      2.17-2     The GNU assembler, linker and bina
ii  coreutils                     5.97-4     The GNU core utilities
ii  dpkg-dev                      1.13.22    package building tools for Debian
ii  file                          4.17-3     Determines file type using "magic"
ii  html2text                     1.3.2a-3   An advanced HTML to text converter
ii  perl                          5.8.8-6.1  Larry Wall's Practical Extraction 
ii  po-debconf                    1.0.5      manage translated Debconf template

debhelper recommends no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFE8f5Ndg0kG0+YFBERAtfLAJ4lzzkruNby7XYS+1imniiJ34yhXQCfZUh5
/L313ah0gc+BwuIj9k6fkTg=
=qTdD
-----END PGP SIGNATURE-----


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

Reply via email to