Richard Boulton wrote:
> > :-( "Read the source, Luke"
>
> Hmm: that documentation is fairly unhelpful. It was last updated
> 13-Feb-98: I'm guessing that was before DIST_SUBDIRS was invented.
"misleading" is more than just "unhelpful", though I do understand
that this is an unfunded project
>>> "Bruce" == Bruce Korb <[EMAIL PROTECTED]> writes:
[...]
Bruce> That proposal being:
Bruce> if BAR
Bruce> MAYBE_BAR = bar
Bruce> fi
Bruce> SUBDIRS = foo $(MAYBE_BAR)
Bruce> The issues are:
Bruce> 1. How do you distribute "bar" when BAR is not defined?
Type `make dist' and this wil
On Wed, 2002-08-21 at 19:40, Bruce Korb wrote:
> 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 en
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.
On Wed, 2002-08-21 at 16:28, Bruce Korb wrote:
> > >> Why don't you simply use DIST_SUBDIRS?
>
> > Bruce> 2. Even now that I've read it, using it would mean taking over
> > Bruce> an automatable chore from automake.
> >
> > I don't get this. Which chore should be automated?
>
> Maintaining
Alexandre Duret-Lutz wrote:
> Bruce> SUBDIRS = @MAYBE_BAR@
> Bruce> EXTRA_DIST = @NOT_MAYBE_BAR@
>
> Odd. I don't understand how you get duplicates this way.
It all has to do with configuring the Makefile incorporated
in the distributed subdirectory. There is no way to do it
conditionally.
>>> "Bruce" == Bruce Korb <[EMAIL PROTECTED]> writes:
>> >> Why don't you simply use DIST_SUBDIRS?
Bruce> 2. Even now that I've read it, using it would mean taking over
Bruce> an automatable chore from automake.
>>
>> I don't get this. Which chore should be automated?
Bruce> Maintaining
> >> Why don't you simply use DIST_SUBDIRS?
> Bruce> 2. Even now that I've read it, using it would mean taking over
> Bruce> an automatable chore from automake.
>
> I don't get this. Which chore should be automated?
Maintaining the contents of DIST_SUBDIRS. If I make an assignment
to it, t