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

Julian Sikorski belegdol at gmail.com
Sun Feb 11 18:25:35 UTC 2007


Well, I don't know how, but the mv solution did not work. I did it the
xine-lib way. Thanks to anybody who has invented it.

2007/2/11, Peter Gordon <peter at thecodergeek.com>:
> 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
>
> --
> Fedora-maintainers mailing list
> Fedora-maintainers at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-maintainers
>
>
>




More information about the Fedora-maintainers mailing list