Preferred (smartest?) way of dealing with packages installing docs into %{_docdir}

Peter Gordon peter at thecodergeek.com
Sun Feb 11 17:58:02 UTC 2007


On Sun, 2007-02-11 at 13:11 +0000, Julian Sikorski wrote:
> I am now in the process of updating chemical-mime-data to 0.1.94. The
> program installs some docs to %{_docdir}/%{name}, while the right
> place for docs is %{_docdir}/%{name}-%{version}. Is there some
> encouraged way to deal with such things? I'm thinking about something
> like:
> mv %{_docdir}/%{name}/* %{_docdir}/%{name}-%{version}/html
> at the end of install step. Any other suggestions?

How are these docs installed? Something similar happens in LucidLife,
(as the docdir in Makefile.in is hardcoded as "$(datadir)/doc/lucidlife"
and I keep a small patch to change that to the proper
"$(datadir)/doc/lucidlife-<version>" directory.

Hope that helps.
-- 
Peter Gordon (codergeek42) / FSF Associate Member #5015
GnuPG Public Key ID: 0xFFC19479 / Fingerprint:
  DD68 A414 56BD 6368 D957 9666 4268 CB7A FFC1 9479
Blog: http://thecodergeek.com/blog/ 
About: http://fedoraproject.org/wiki/PeterGordon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-maintainers/attachments/20070211/7352344d/attachment.sig>


More information about the Fedora-maintainers mailing list