On Tue, Jan 13, 2004 at 14:46:17 +0100, Michael Bell <[EMAIL PROTECTED]> wrote:
> Alessandro Razeto wrote:
> 
> >I have the following structure under /usr/share/openca/
> >stylesheets/* 
> >...
> >htdocs/ca/*
> >The symlinks will be installed in htdocs/ca/ and should point to
> >stylesheets/*; the patch I attached create the symlinks which will be
> >installed on htdocs/ca/ and will point to ../../stylesheets/ which is
> >really /usr/share/openca/stylesheets/. So for debian is fine.
> >Unfortunatelly I don't know if on every configuration the structure will
> >be similar (except for the absolute path of the installation dir).
> >What is real important is that the stylesheets/ and the
> >htdocs/${module}/ directories are in the same folder.
> 
> This directory structure is only correct for debian. Here is Debian a 
> special case. I think that a patch for OpenCA's makefiles in the debian 
> source package is the best way to solve this problem. I don't know a 
> better way today.
It's possible. Which is the strucure on other builds?

> 
> I read the rules file too but I don't understand why linking with 
> absolute paths is a problem. The used lib_prefix is correct. So LN_S 
> should create a correct link or is there some "magic".
What happens in debian is that the links are created relative to the
path of the tmp installation. So if I make the packages in
/foo/openca-09 then the links are installed, at the first step, on 
/foo/openca-09/debian/openca-{node}/usr/share/openca/htdocs/ca/
pointing to
/foo/openca-09/debian/openca-{node}/usr/share/openca/stylesheets/
This will breaks when I remove the sources, since when the package is
installed the links will still point to 
/foo/openca-09/debian/openca-{node}/usr/share/openca/stylesheets/

Maybe there is a solution to fix this, but I need to understand the 
structure of the rpm builds too.

Bye


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
OpenCA-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-devel

Reply via email to