Richard Boulton wrote: > automake will be able to calculate the correct value for DIST_SUBDIRS by > taking all possible values for SUBDIRS. > > So: > > if BAR > MAYBE_BAR = bar > fi > SUBDIRS = foo $(MAYBE_BAR) > > DIST_SUBDIRS is automatically calculated as "foo bar"
Now it is clear to me. I did not understand the extra magic. Thank you. I was relying on this: > It is possible to override the `SUBDIRS' variable if, > like in the case of GNU `Inetutils', you want to only build > a subset of the entire package. In your `Makefile.am' include: > > SUBDIRS = @MY_SUBDIRS@ > > Then in your `configure.in' you can specify: > > MY_SUBDIRS="src doc lib po" > AC_SUBST(MY_SUBDIRS) :-( "Read the source, Luke" OK. I'm going to straight out solicit some help. Energetic people with an hour or so to burn, please CVS-get this tiny project: cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/autogen \ get blocksort (no password) look at this page: http://autogen.sf.net/blocksort.html and suggest ways to make it rock solid and as simple as possible. Obviously, I won't be using autoconf substitutions in SUBDIRS anymore. Hopefully, that will also fix the duplicate file issue, too. Oh, the files of interest in "blocksort": configure.ac Makefile.am cfg/bootstrap cfg/bootstrap.local Especially note some hackery that I hate in cfg/bootstrap. Immediately after libtoolizing, I move the config.guess, config.sub and ltmain.sh files into the cfg directory. If I don't, it fails. If I do, I get sick. Shouldn't libtoolize have a config aux-directory option? What am I missing this time?