Re: %doc and docdir conflicts

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

 



Orion Poplawski wrote:
Where is the appropriate place to put documentation that a package will install during %install in the location specified by --docdir? I've tried using %{_docdir}/%{name}-%{version}, but the %doc macro will clean out that directory before copying over any files listed, wiping out anything installed during %install.

It's an either/or thing. You either let %install put the stuff in %{_docdir}/%{name}-%{version} *or* you do it manually with %doc.

If you want/need stuff done in %install, you need to put it somewhere else.

-- Rex

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux