-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, 16 Jul 2006 03:49:44 +1000 Nicolas Baradakis <nbk@sitadelle.com> wrote:
I've added an option --with-docdir to ./configure, so we can chose
the directory where the documentation files will be installed. It should be useful to build a RPM package.
I'm not using a redhat-based distribution, and I can't be sure this solves all the problems. Please get version 1.1.3 from CVS and try to run rpmbuild.
Sorry, it took a while for me to get to this. Got version 1.1.3 from CVS today and ran rpmbuild on Redhat Enterprise Linux 4 (Update 3). Builds OK - very good, and the default setting Nicolas inserted into the spec file for "with-docdir" is fine. One residual issue though (a fix for which I had as part of the patch I had originally submitted to this list) is that /usr/share/doc/freeradius-1.1.3/ gets only "ChangeLog COPYRIGHT INSTALL README todo/". Unless the remining required files in the doc directory are inserted into the redhat spec file as I had done in the patch, those doc files will not (and do not) get copied in. A better fix would be to rename the files that should be copied into the RPM (or into an installation on any other distro) to have a standard prefix (say "doc-" for want of anything better) from the doc directory. In that case, having the line "%doc doc/doc* todo/ COPYRIGHT INSTALL" in the spec file in the %files section will install everything required. What do you think? Regards SW -----BEGIN PGP SIGNATURE----- Note: This signature can be verified at https://www.hushtools.com/verify Version: Hush 2.5 wkYEARECAAYFAkTqpkcACgkQmw4BJyaatJ089QCglLKtEH15ltYXLJdgumjyB6v0JIcA oJlIJpVh8eYuKW3YIZu+vKTuON8h =SkZw -----END PGP SIGNATURE-----