On Tue, Apr 13, 2010 at 7:53 PM, Ralf Wildenhues <ralf.wildenh...@gmx.de> wrote: > * Xavier MARCELET wrote on Tue, Apr 13, 2010 at 09:38:36AM CEST: > For example, we could have a couple of macros > > # AM_MAKEFILE_PREPEND([FRAGMENT], [SUBDIR-PATTERN]) > # ------------------------------------------------- > # Prepend FRAGMENT file to all Makefile.am files matching SUBDIR-PATTERN. > # Multiple fragments are included in LIFO order. > > # AM_MAKEFILE_APPEND([FRAGMENT], [SUBDIR-PATTERN]) > # ------------------------------------------------ > # Append FRAGMENT file to all Makefile.am files matching SUBDIR-PATTERN. > # Multiple fragments are included in FIFO order.
would it be a potential possibility instead to `overwrite and specialize' some macro? If, for example, there would be some logic consisting of OUTPUT_HEADER OUTPUT_CONTENT OUTPUT_FOOTER could someone overwrite one of them to add some lines? I guess this probably could be more flexible (but no idea if this makes any sense in this context). oki, Steffen