[IRCServices Coding] Build prefix/FHS compliance

Andrew Church achurch at achurch.org
Sun Jul 22 23:48:53 PDT 2007


Just a note to let you know I've got the patch--thanks.  I'll take a look
at it when I have a chance.

  --Andrew Church
    achurch at achurch.org
    http://achurch.org/

>On Fri, 2007-07-13 at 19:54 +0000, Andrew Church wrote:
>> As far as FHS compliance goes, can you make any specific suggestions?
>> I'm not sure how much I can do, since Services' design requires all data
>> under a common hierarchy, and at this point it's a bit late to go back and
>> change that so it works reliably with scattered files.  It may suffice in
>> at least some cases to use absolute rather than relative paths, though, so
>> let me know what changes you'd recommend and I'll see how feasable they
>> are.
>
>Attached is a patch I'm currently using in the package - I've not
>finished testing it, but the idea is that things like modules, config
>files, language files and the helpfiles are opened only in one place, so
>are easy to relocate. Anything else can be fixed with absolute paths in
>the config files.
>
>The build system gets patched to add some configuration options to
>support this - it also implements the $(DESTDIR) prefix for the install
>target.
>
>(I'm happy to hand over whatever little copyright is in this patch.)
>
>--
>Tim Retout <tim at retout.co.uk>