%doc question

Paul Howarth paul at city-fan.org
Tue Sep 13 10:41:36 UTC 2005


Paul F. Johnson wrote:
>>>cp doc/*.txt ${RPM_BUILD_ROOT}%{_mandir}/z88dk
>>
>>Why are you copying text files into a man page directory?
> 
> 
> Is there a better place to put the manual files which aren't in manpage
> format?

Just include:

%doc doc/*.txt

in the %files list and it'll get handled by rpm properly.

Paul.




More information about the fedora-extras-list mailing list