[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Conditional inclusion
From: |
Bruno Haible |
Subject: |
Re: Conditional inclusion |
Date: |
Mon, 15 Oct 2007 12:19:50 +0200 |
User-agent: |
KMail/1.5.4 |
Ralf Wildenhues wrote:
> > if ENABLE_LIBWCRYPT
> > SUBDIR_wcrypt = wcrypt
> > else
> > SUBDIR_wcrypt =
> > endif
> > SUBDIRS = gl $(SUBDIR_wcrypt) src doc po ...
>
> What's the problem with "make dist" here? It will recurse into wcrypt:
> it uses $(DIST_SUBDIRS) for that, which lists all possible SUBDIRs.
I don't remember. Maybe the subdir had some BUILT_SOURCES that could not be
distributed, or the doc in the subdir was not updated with the new version
number, or something like that. Maybe the problems came from the fact that
I used an AC_SUBSTed SUBDIR_wcrypt variable instead of an automake conditional.
Bruno