[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Conditional inclusion
From: |
Ralf Wildenhues |
Subject: |
Re: Conditional inclusion |
Date: |
Mon, 15 Oct 2007 08:00:08 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Hello Bruno,
* Bruno Haible wrote on Mon, Oct 15, 2007 at 02:08:18AM CEST:
>
> if ENABLE_LIBWCRYPT
> SUBDIR_wcrypt = wcrypt
> else
> SUBDIR_wcrypt =
> endif
> SUBDIRS = gl $(SUBDIR_wcrypt) src doc po ...
>
> Such declarations will prevent "make" from recursing into wcrypt.
> But this poses problems when doing "make dist", therefore an alternative
> way to do it is to always recurse into the subdirectory:
>
> SUBDIRS = gl 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.
Cheers,
Ralf