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

Re: Question about Debian doc-base

Miguel Angel Ruiz Manzano <debianized@gmail.com> writes:

> I'm maintaining a documentation package (cfi). After I adopted it, I did
> the required changes in debian/*, but I tested that it wasn't "lintian
> clear". The output:

> E: cfi-en: doc-base-file-references-missing-file cfi-en:8
> /usr/share/doc/cfi-en/html/*.htm{,l}
> N:
> N:   One of the files referenced in an Index or Files field in this
> N:   doc-base control file does not exist in the package. The doc-base
> N:   control files should be installed by the package that provides the
> N:   documents they are registering.
> N:

> The error appeared in debian/cfi-en.doc-base :

> Format: HTML
> Files: /usr/share/doc/cfi-en/html/*.htm{,l}
> Index: /usr/share/doc/cfi-en/html/index.html

Yeah, the doc-base specification doesn't say that it permits {}, so
lintian assumes that it doesn't.

> My intuition guided me to do the following:

> Format: HTML
> Files: /usr/share/doc/cfi-en/html/*.htm
> Files: /usr/share/doc/cfi-en/html/*.html

I think you shouldn't repeat the Files: and instead just list multiple
file specifications on the Files line (which can be continued like a mail
header if need be).  Other than that, yes, this is correct.

Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>

Reply to: