Hello Steffen,

* Steffen Dettmer wrote on Fri, Jun 26, 2009 at 05:21:59PM CEST:
> On Fri, Jun 26, 2009 at 4:54 AM, Ralf Wildenhues wrote:
> >  if INSTALLDOCS
> >  MAYBEDOCS = doc
> >  dist_doc_DATA = README
> >  else
> >  docdir =
> >  endif
> >  SUBDIRS = src $(MAYBEDOCS)
> 
> Can (should) SUBDIRS contain conditionals? Is automake smart to know
> that MAYBEDOCS must be entered not for install but for "make dist"

Yes:
<http://www.gnu.org/software/automake/manual/html_node/Conditional-Subdirectories.html>

> and "clean" etc?

Not for clean, but for distclean and maintainer-clean.

Cheers,
Ralf


_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to