[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: FWD: Bug#200905: dh_installdocs: don't install empty doc files



On Fri, Jul 11, 2003 at 08:07:40PM -0400, Joey Hess wrote:
> This strikes me as a good idea, unless someone has a legit reason to
> include an empty documentations file in a package. So speak up if you
> do. Maybe a zero length TODO could be considered to have some implied
> meaning, but I've seen zero length everything including AUTHORS and
> README and NEWS.

Sounds good to me too, I've several "find -size 0" in debian/rules to
remove such kind of files.

Anyway I think it can be unlikely to remove empty files when they are
linked from others files. E.g. a .html having a link to another empty
.html. In such a case having the empty html file is better than having
no html at all to avoid future browser complains.

I no it is a bit weird situation but can't the heuristic "remove empty
files if they have no .html extension"?

Cheers

-- 
Stefano Zacchiroli  --  Master in Computer Science @ Uni. Bologna, Italy
zack@{cs.unibo.it,debian.org,bononia.it}  -  http://www.bononia.it/zack/
"  I know you believe you understood what you think I said, but I am not
sure you realize that what you heard is not what I meant!  " -- G.Romney

Attachment: pgpgpGSU8pCru.pgp
Description: PGP signature


Reply to: