[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] FHS done right
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.
Gabor
--
---------------------------------------------------------
MTA SZTAKI Computer and Automation Research Institute
Hungarian Academy of Sciences
---------------------------------------------------------