Bruno Haible <[EMAIL PROTECTED]> writes: >> The problem in automake that would had to be fixed was this: >> >> http://thread.gmane.org/gmane.comp.sysutils.automake.bugs/1659 >> >> Briefly, the gnulib Makefile.am snippet uses += to add contents to >> variables, such as EXTRA_DIST, which are also useful to use in the >> Makefile.am that includes the gnulib Makefile.am snippet. But >> automake doesn't permit += without an earlier 'EXTRA_DIST = ...' >> definition. > > As a workaround, you can include gnulib.mk first, and add your own > file lists afterwards.
Yes. You'll also have to keep track of which variables that gnulib.mk uses, so you don't accidentally use 'FOO = ' on them, and respectively, doesn't use 'FOO +=' on a variable that gnulib.mk did not define. /Simon