Duane Cox wrote:

> I noticed this too, that with 1.1.1 the docs are installed to 
> doc/freeradius and not doc/freeradius-1.1.1

It has been discussed on the freeradius-devel mailing list: the
libraries and the executables are installed in version-independent
directories, therefore it's more consistent to have the docs under
share/doc/freeradius. BTW it's also the recommended location in the
Debian policy manual.

> I'm not sure why this change came about, but can't a simple sed
> script fix it?  Then build your RPM.
> 
> sed -i '[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]' doc/Makefile &&
> sed -i '[EMAIL PROTECTED]/freeradius/[EMAIL 
> PROTECTED]/freeradius-1.1.1/[EMAIL PROTECTED]' 
> doc/examples/Makefile &&
> sed -i '[EMAIL PROTECTED]/freeradius/[EMAIL 
> PROTECTED]/freeradius-1.1.1/[EMAIL PROTECTED]' doc/rfc/Makefile

Perhaps adding this command in freeradius.spec could fix the problem:

sed -i "[EMAIL PROTECTED]/[EMAIL PROTECTED]/freeradius-%{version}@" 
doc/Makefile doc/examples/Makefile doc/rfc/Makefile

However, I think it'd be more elegant to add an option --docdir to
configure and update the makefiles to use that.

-- 
Nicolas Baradakis

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to