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 to have the above in a file that is included in each Makefile.am with something like 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? Cheers Adam