autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Choosing not to install documentation


From: Ralf Wildenhues
Subject: Re: Choosing not to install documentation
Date: Sat, 27 Jun 2009 13:01:02 +0200
User-agent: Mutt/1.5.20 (2009-06-15)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]