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

Re: [PATCH] FHS done right

Gabor Gombas wrote:
> On Thu, Dec 06, 2007 at 11:54:57AM +0200, Hai Zaar wrote:
>> I do not like sed, its dangerous. Also, files are not re-sed'ed when
>> you make changes and run make. I know this looks a bit awkward, but I
>> do not see brighter solution as well.
> It's not that bad. You need:
> foo.c: foo.c.in $(top_builddir)/config.status
> 	$(SED) ....
> 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:

Guillaume Rousse
Moyens Informatiques - INRIA Futurs
Tel: 01 69 35 69 62