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

Re: Examples



Am Montag, den 05.05.2008, 14:50 +0200 schrieb Sveinung Kvilhaugsvik:

> When there are two packages, packagename (that contains a library) and
> packagename-doc (that contains documentation and examples), do the
> documentation and examples go in /usr/share/doc/package or
> /usr/share/doc/packagename-doc? If it goes in /usr/share/doc/package,
> are there a way to make dh_installexamples use /usr/share/doc/package
> even if the files go in packagename-doc?

You could install the documentation into /usr/share/doc/package/html
and ship it with the packagename-doc package. Further ship a
symlink /usr/share/doc/packagename-doc/html
to /usr/share/doc/package/html with the same package. So you avoid a
dangling symlink, if you don't want to add a strong dependency on
package for packagename-doc.

Regards, Daniel


Reply to: