Albert Chin <[EMAIL PROTECTED]> writes: > So, should automake change lines like: > foo_SOURCES = [long list of sources] > to the following in Makefile.in: > foo_SOURCES = $(foo_SOURCES_1) $(foo_SOURCES_2) ... > foo_SOURCES_1 = [list of sources < 2048 chars] > foo_SOURCES_2 = [list of sources < 2048 chars] > ...
automake's 1.9 NEWS entry includes: - Variables aumented with `+=' are now automatically flattened (i.e., trailing backslashes removed) and then wrapped around 80 colummns (adding trailing backslashes). In previous versions, a long series of VAR += value1 VAR += value2 VAR += value3 ... would result in a single-line definition of VAR that could possibly exceed the maximum line length of some make implementations. Non-augmented variables are still output as they are defined in the Makefile.am. flattening non-augmented variable assignments seems like a better solution to the problem of too long lines. In the mean time, maybe foo_SOURCES = foo_SOURCES += [ long list of sources ] might just work. --jtc -- J.T. Conklin