* Andreas Jellinghaus wrote on Wed, Mar 03, 2010 at 10:29:50PM CET: > Am Mittwoch 03 März 2010 20:32:53 schrieb Ralf Wildenhues: > > * Andreas Jellinghaus wrote on Wed, Mar 03, 2010 at 02:11:52PM CET: > > > I'm told EXTRA_DIST files are optional - automake > > > will include them if they exist, but also go on, > > > if those files do not exist. > > > > No, that is not true. Just try > > EXTRA_DIST = does-not-exist > > > > and 'make dist' will fail. > > ah. ok, so back to the drawing board for my plan with > optional documentation (see the thread a week ago or so).
You can use either of - wildcards, EXTRA_DIST = pattern* - automake conditionals, if COND EXTRA_DIST += files... endif - or plain old configure substitutions for variable content in EXTRA_DIST. EXTRA_DIST = file @list_of_files@ $(more_files) Cheers, Ralf