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