[pkg-horde] sed substitutions in debian/rules for Horde module packages

Ola Lundqvist opal at debian.org
Wed Dec 21 20:38:42 UTC 2005


On Thu, Dec 15, 2005 at 01:04:39PM +0100, Gregory Colpart wrote:
> Hello,
> 
> First post on this mailing-list :)
> 
> In debian/rules of horde module packages (horde3, imp4,
> ingo1, etc.), there are several sed substitutions (in install rule).
> The goal of this sed substitutions seems to remplace PHP lines
> like :
> 
> @define('HORDE_BASE', dirname(__FILE__) . '/../..');
> 
> to :
> 
> @define('HORDE_BASE', '/usr/share/horde3');
> 
> I'm curious, what is the reason to do that ?
> (now I do it too for my package [*])

The reason is that if we do not do this we can not have a symlink
from config dir to /etc/horde3/xxxx directory without things breaking.

Regards,

// Ola

> 
> [*] : http://gcolpart.evolix.net/debian/horde-sam/
> 
> 
> Regards,
> -- 
> Gregory Colpart <reg at evolix.fr>  GnuPG:1024D/C1027A0E
> Evolix - Informatique et Logiciels Libres http://www.evolix.fr/
> 
> _______________________________________________
> pkg-horde-hackers mailing list
> pkg-horde-hackers at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-horde-hackers
> 

-- 
 --------------------- Ola Lundqvist ---------------------------
/  opal at debian.org                     Annebergsslingan 37      \
|  opal at lysator.liu.se                 654 65 KARLSTAD          |
|  +46 (0)54-10 14 30                  +46 (0)70-332 1551       |
|  http://www.opal.dhs.org             UIN/icq: 4912500         |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------



More information about the pkg-horde-hackers mailing list