INN::Config Perl module

Julien ÉLIE julien at trigofacile.com
Tue Sep 18 12:57:54 UTC 2007


En réponse à Russ Allbery :
>> * As for scripts/inncheck.in, why is it processed by configure?
>>   Couldn't it be dropped from configure and generated like the
>>   major part of the scripts?
>
> Search for the pattern '@[A-Z_]*@' to see why a given file is processed by
> configure.

There is also a little change to do because inncheck should be processed
by both fixconfig and fixscript.

Do you want something like that in scripts/Makefile?

inncheck:    inncheck.in     $(FIXC) $(FIXS) ; $(FIXC) inncheck.in inncheck.in2
                                               $(FIXS) inncheck.in2 inncheck
                                               rm -f inncheck.in2

Or do you prefer to have a support/fixconfigscript script which does these
three lines?

I also wonder if inncheck.in2 should also be added to "make clean & co"
or if it is not necessary.

I have also seen that some other scripts would need such a tweak too
(for instance backends/news2mail which has stuff like:
    # In the INN newsfeeds file, you need to have a channel feed:
    #       n2m!:!*:Tc,Ac,Wn*:@bindir@/news2mail
in its contents).

-- 
Julien ÉLIE

« On ne va jamais si loin que lorsque l'on ne sait pas où l'on va. » 



More information about the inn-workers mailing list