best practice for injecting include dir across a project

2008-07-24 Thread Monty Taylor
Hey all, I've got a project that has 24 Makefile.am files. At the top of all of them at the moment, I've got: AM_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include Which seems a bit ridiculous. I would love to inject those two into DEFAULT_INCLUDES, but I can't find any handles to do t

Re: best practice for injecting include dir across a project

2008-07-24 Thread Ralf Wildenhues
Hello Monty, * Monty Taylor wrote on Thu, Jul 24, 2008 at 08:43:39PM CEST: > > I've got a project that has 24 Makefile.am files. At the top of all of > them at the moment, I've got: > > AM_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include Put AC_SUBST([AM_CPPFLAGS], ['I$(top_buildd

Re: best practice for injecting include dir across a project

2008-07-24 Thread Monty Taylor
Ralf Wildenhues wrote: > Hello Monty, > > * Monty Taylor wrote on Thu, Jul 24, 2008 at 08:43:39PM CEST: >> I've got a project that has 24 Makefile.am files. At the top of all of >> them at the moment, I've got: >> >> AM_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include > > Put > AC_S

Re: best practice for injecting include dir across a project

2008-07-24 Thread Raja R Harinath
Hi, Monty Taylor <[EMAIL PROTECTED]> writes: > I've got a project that has 24 Makefile.am files. At the top of all of > them at the moment, I've got: > > AM_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include [snip] > PS. Yes...I know the -I$(top_builddir)/include is ridiculous... I > in

Re: best practice for injecting include dir across a project

2008-07-24 Thread Monty Taylor
Raja R Harinath wrote: > Hi, > > Monty Taylor <[EMAIL PROTECTED]> writes: > >> I've got a project that has 24 Makefile.am files. At the top of all of >> them at the moment, I've got: >> >> AM_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include > [snip] >> PS. Yes...I know the -I$(top_bui