Re: appending to BUILT_SOURCES, if appropriate

2010-03-11 Thread Adam Mercer
On Thu, Mar 11, 2010 at 14:42, Eric Blake wrote: > How about modifying the makefiles that don't append to BUILT_SOURCES to > just add the line > > BUILT_SOURCES= > > prior to the include, then use BUILT_SOURCES+= in the included file. Of course, great idea! Thanks! Cheers Adam

Re: appending to BUILT_SOURCES, if appropriate

2010-03-11 Thread Eric Blake
On 03/11/2010 01:39 PM, Adam Mercer wrote: > include path/to/Makefile.common > > The problem is that some Makefile.am's already define BUILT_SOURCES, > whilst some do not. Is there a way that I can append to BUILT_SOURCES, > if it already exists, or define it if it doesn't? How about modifying th

appending to BUILT_SOURCES, if appropriate

2010-03-11 Thread Adam Mercer
Hi For one of the projects I work on we need to add something like the following to each Makefile.am to ensure that vcs information is current: vcsID: cd $(top_builddir)/src/lalapps && $(MAKE) liblalapps.la BUILT_SOURCES = vcsID As this is going to be the same in each Makefile.am, I would like