[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] FHS done right



6 dec 2007 kl. 03.41 skrev Hai Zaar:

> On Dec 6, 2007 1:14 PM, Guillaume Rousse <Guillaume.Rousse@inria.fr>  
> wrote:
>>> AC_OUTPUT does essentially the same.
>> But it is discouraged to use it for anything else as makefile,  
>> because
>> directories variables are not totally evaluated:
>> http://www.gnu.org/software/autoconf/manual/autoconf-2.57/html_mono/autoconf.html#SEC24
> I see what they mean. I am, personally, using .in templates for
> anything for years and never had problems with that.
> It can be implemented in either way however, depending on what project
> leaders demand.
>
> Currently we have these issues:
> 1. Info pages - options are
>   a). .in templates instansenated by configure
>   b). follow Love's advice to create ""paths.info" file from
>        configure and include that in the info files and use info  
> variables
>        instead."

Example how to do this:

http://loka.it.su.se/fisheye/changelog/heimdal/?cs=22191
http://loka.it.su.se/fisheye/changelog/heimdal/?cs=22192

> 2. mdoc man pages - options are:
>   a). .in templates instansenated by configure
>   b). .in templates sed'ed by make

I can do a sample for this too,

>   c). no .in templace - just sed'ed by make
> 3. roken-common.h
>   a). small code refactory proposed by Love
>   b). roken-common.h.in and instansenate it by configure
>   c). roken-common.h.in and sed'ed by make
>   s). just sed roken-common.h

Need to think about this. Will do a patch.

Love